C# Class Cats.Areas.Logistics.Controllers.PromisedContributionController

Inheritance: Controller
Mostrar archivo Open project: edgecomputing/cats

Public Methods

Method Description
Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
GetAllContribution ( ) : List
Index ( ) : System.Web.Mvc.ActionResult
PromisedContributionController ( IPromisedContributionService _PromisedContributionService, IUserAccountService _userAccountService, IDonorService _donorService, IHubService _hubService, ICommodityService _commodityService ) : System
ReadAjax ( [ request ) : System.Web.Mvc.ActionResult
convertToViewModel ( PromisedContribution item ) : PromisedContributionViewModel
convertToViewModelList ( List list ) : List
loadListItems ( ) : void

Private Methods

Method Description
Edit ( PromisedContribution contribution ) : System.Web.Mvc.ActionResult

Method Details

Delete() public method

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

Edit() public method

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

GetAllContribution() public method

public GetAllContribution ( ) : List
return List

Index() public method

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

PromisedContributionController() public method

public PromisedContributionController ( IPromisedContributionService _PromisedContributionService, IUserAccountService _userAccountService, IDonorService _donorService, IHubService _hubService, ICommodityService _commodityService ) : System
_PromisedContributionService IPromisedContributionService
_userAccountService IUserAccountService
_donorService IDonorService
_hubService IHubService
_commodityService ICommodityService
return System

ReadAjax() public method

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

convertToViewModel() public method

public convertToViewModel ( PromisedContribution item ) : PromisedContributionViewModel
item Cats.Models.PromisedContribution
return Cats.Models.PromisedContributionViewModel

convertToViewModelList() public method

public convertToViewModelList ( List list ) : List
list List
return List

loadListItems() public method

public loadListItems ( ) : void
return void