C# Class DRMFSS.Web.Controllers.CommodityController

Inheritance: BaseController
ファイルを表示 Open project: edgecomputing/cats-hub-module Class Usage Examples

Public Methods

Method Description
CommodityController ( ICommodityTypeService commodityTypeService, ICommodityService commodityService ) : System
CommodityListByType ( int commodityTypeID, int editModeVal, string siNumber, int commoditySourceID ) : System.Web.Mvc.ActionResult
CommodityListPartial ( ) : System.Web.Mvc.ActionResult
CommodityParentListByType ( int commodityTypeID, int editModeVal ) : System.Web.Mvc.ActionResult
Create ( int type, int parent ) : 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
GetParentList ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
IsCodeValid ( int commodityID, string commodityCode ) : System.Web.Mvc.JsonResult
IsNameValid ( int commodityID, string name ) : System.Web.Mvc.JsonResult
ParentCommodities ( int commodityTypeID ) : System.Web.Mvc.ActionResult
SubCommodityListPartial ( int id ) : System.Web.Mvc.ActionResult
Update ( int param ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Create ( Commodity commodity ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Edit ( Commodity commodity ) : System.Web.Mvc.ActionResult

Method Details

CommodityController() public method

public CommodityController ( ICommodityTypeService commodityTypeService, ICommodityService commodityService ) : System
commodityTypeService ICommodityTypeService
commodityService ICommodityService
return System

CommodityListByType() public method

public CommodityListByType ( int commodityTypeID, int editModeVal, string siNumber, int commoditySourceID ) : System.Web.Mvc.ActionResult
commodityTypeID int
editModeVal int
siNumber string
commoditySourceID int
return System.Web.Mvc.ActionResult

CommodityListPartial() public method

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

CommodityParentListByType() public method

public CommodityParentListByType ( int commodityTypeID, int editModeVal ) : System.Web.Mvc.ActionResult
commodityTypeID int
editModeVal int
return System.Web.Mvc.ActionResult

Create() public method

public Create ( int type, int parent ) : System.Web.Mvc.ActionResult
type int
parent int
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

GetParentList() public method

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

Index() public method

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

IsCodeValid() public method

public IsCodeValid ( int commodityID, string commodityCode ) : System.Web.Mvc.JsonResult
commodityID int
commodityCode string
return System.Web.Mvc.JsonResult

IsNameValid() public method

public IsNameValid ( int commodityID, string name ) : System.Web.Mvc.JsonResult
commodityID int
name string
return System.Web.Mvc.JsonResult

ParentCommodities() public method

public ParentCommodities ( int commodityTypeID ) : System.Web.Mvc.ActionResult
commodityTypeID int
return System.Web.Mvc.ActionResult

SubCommodityListPartial() public method

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

Update() public method

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