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

Inheritance: Controller
显示文件 Open project: edgecomputing/cats

Public Methods

Method Description
Approve ( int id ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
Detail ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
GetAllTransfers ( IEnumerable transfers ) : IEnumerable
GetGiftCertificates ( ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult
JsonCommodities ( int parentCommodityID, int editModval ) : System.Web.Mvc.ActionResult
JsonParentCommodities ( int commodityTypeID, int editModval ) : System.Web.Mvc.ActionResult
SwapController ( ITransferService transferService, ICommonService commonService, IUserAccountService userAccountService, ICommodityService commodityService, log4net.ILog log ) : System
Transfer_Read ( [ request ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Create ( TransferViewModel transferViewModel ) : System.Web.Mvc.ActionResult
Edit ( Transfer transfer ) : System.Web.Mvc.ActionResult
GetTransfer ( TransferViewModel transferViewModel ) : Transfer

Method Details

Approve() public method

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

Create() public method

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

Detail() public method

public Detail ( 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

GetAllTransfers() public method

public GetAllTransfers ( IEnumerable transfers ) : IEnumerable
transfers IEnumerable
return IEnumerable

GetGiftCertificates() public method

public GetGiftCertificates ( ) : System.Web.Mvc.JsonResult
return System.Web.Mvc.JsonResult

Index() public method

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

JsonCommodities() public method

public JsonCommodities ( int parentCommodityID, int editModval ) : System.Web.Mvc.ActionResult
parentCommodityID int
editModval int
return System.Web.Mvc.ActionResult

JsonParentCommodities() public method

public JsonParentCommodities ( int commodityTypeID, int editModval ) : System.Web.Mvc.ActionResult
commodityTypeID int
editModval int
return System.Web.Mvc.ActionResult

SwapController() public method

public SwapController ( ITransferService transferService, ICommonService commonService, IUserAccountService userAccountService, ICommodityService commodityService, log4net.ILog log ) : System
transferService ITransferService
commonService ICommonService
userAccountService IUserAccountService
commodityService ICommodityService
log log4net.ILog
return System

Transfer_Read() public method

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