C# Class Cats.Areas.EarlyWarning.Controllers.DonorCoverageController

Inheritance: Controller
Exibir arquivo Open project: edgecomputing/cats

Public Methods

Method Description
AddWoreda ( int id ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
Detail ( int id ) : System.Web.Mvc.ActionResult
DonorCoverageController ( Cats.Services.EarlyWarning.IDonorService donorService, Cats.Services.EarlyWarning.IAdminUnitService adminUnitService, IHRDService hrdService, IHrdDonorCoverageDetailService hrdDonorCoverageDetailService, IHrdDonorCoverageService hrdDonorCoverageService, IUserAccountService userAccountService, IRationDetailService rationDetailService ) : System
DonorCoverage_Read ( [ request ) : System.Web.Mvc.ActionResult
GetAdminUnits ( ) : System.Web.Mvc.JsonResult
HrdDonorCoverageDetail_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AddWoreda ( AddWoredaViewModel addWoredaViewModel ) : System.Web.Mvc.ActionResult
Create ( HrdDonorCoverage hrdDonorCoverage ) : System.Web.Mvc.ActionResult
GetCoverageDetail ( AddWoredaViewModel addWoredaViewModel ) : HrdDonorCoverageDetail
GetDonorCoverage ( IEnumerable hrdDonorCoverages ) : IEnumerable
GetDonorCoverageDetail ( IEnumerable hrdDonorCoverageDetails, int id ) : IEnumerable
GetTransposedHRD ( int id, string preferedweight ) : DataTable

Method Details

AddWoreda() public method

public AddWoreda ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Detail() public method

public Detail ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

DonorCoverageController() public method

public DonorCoverageController ( Cats.Services.EarlyWarning.IDonorService donorService, Cats.Services.EarlyWarning.IAdminUnitService adminUnitService, IHRDService hrdService, IHrdDonorCoverageDetailService hrdDonorCoverageDetailService, IHrdDonorCoverageService hrdDonorCoverageService, IUserAccountService userAccountService, IRationDetailService rationDetailService ) : System
donorService Cats.Services.EarlyWarning.IDonorService
adminUnitService Cats.Services.EarlyWarning.IAdminUnitService
hrdService IHRDService
hrdDonorCoverageDetailService IHrdDonorCoverageDetailService
hrdDonorCoverageService IHrdDonorCoverageService
userAccountService IUserAccountService
rationDetailService IRationDetailService
return System

DonorCoverage_Read() public method

public DonorCoverage_Read ( [ request ) : System.Web.Mvc.ActionResult
request [
return System.Web.Mvc.ActionResult

GetAdminUnits() public method

public GetAdminUnits ( ) : System.Web.Mvc.JsonResult
return System.Web.Mvc.JsonResult

HrdDonorCoverageDetail_Read() public method

public HrdDonorCoverageDetail_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
request [
id int
return System.Web.Mvc.ActionResult

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult