C# Class Cats.Web.Adminstration.Controllers.CommodityController

Inheritance: Controller
Mostra file Open project: edgecomputing/cats

Public Methods

Method Description
CommodityController ( Cats.Services.Administration.ICommodityTypeService commodityTypeService, ICommodityService commodityService ) : System
Commodity_Destroy ( int id ) : System.Web.Mvc.ActionResult
Commodity_Read ( [ request ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Commodity_Create ( [ request, CommodityViewModel commodityViewModel ) : System.Web.Mvc.ActionResult
Commodity_Update ( [ request, CommodityViewModel commodityViewModel ) : System.Web.Mvc.ActionResult

Method Details

CommodityController() public method

public CommodityController ( Cats.Services.Administration.ICommodityTypeService commodityTypeService, ICommodityService commodityService ) : System
commodityTypeService Cats.Services.Administration.ICommodityTypeService
commodityService ICommodityService
return System

Commodity_Destroy() public method

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

Commodity_Read() public method

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

Index() public method

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