C# Class Cats.Web.Hub.Controllers.CommodityTypeController

Inheritance: BaseController
Show file Open project: edgecomputing/cats Class Usage Examples

Public Methods

Method Description
CommodityTypeController ( ICommodityTypeService commodityTypeService, IUserProfileService userProfileService ) : System
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ViewResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ViewResult
Update ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Create ( CommodityType commoditytype ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Edit ( CommodityType commoditytype ) : System.Web.Mvc.ActionResult
_GetCommodityTypes ( ) : System.Web.Mvc.ActionResult

Method Details

CommodityTypeController() public method

public CommodityTypeController ( ICommodityTypeService commodityTypeService, IUserProfileService userProfileService ) : System
commodityTypeService ICommodityTypeService
userProfileService IUserProfileService
return System

Create() public method

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

Delete() public method

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

Details() public method

public Details ( int id ) : System.Web.Mvc.ViewResult
id int
return System.Web.Mvc.ViewResult

Edit() public method

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

Index() public method

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

Update() public method

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