Method | Description | |
---|---|---|
CommodityController ( IRepository |
||
Create ( ) : System.Web.Mvc.ActionResult | ||
Delete ( int id ) : System.Web.Mvc.ActionResult | ||
Edit ( int id ) : System.Web.Mvc.ActionResult | ||
Index ( ) : System.Web.Mvc.ActionResult |
Method | Description | |
---|---|---|
Create ( Commodity commodity ) : System.Web.Mvc.ActionResult | ||
Delete ( int id, Commodity commodity ) : System.Web.Mvc.ActionResult | ||
Edit ( int id, Commodity commodity ) : System.Web.Mvc.ActionResult | ||
TransferValues ( Commodity source, Commodity destination ) : void |
Transfer editable values from source to destination. Use of AutoMapper is recommended
|
public CommodityController ( IRepository |
||
commodityRepository | IRepository |
|
return | System |
public Create ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public Delete ( int id ) : System.Web.Mvc.ActionResult | ||
id | int | |
return | System.Web.Mvc.ActionResult |
public Edit ( int id ) : System.Web.Mvc.ActionResult | ||
id | int | |
return | System.Web.Mvc.ActionResult |
public Index ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |