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

Inheritance: Controller
ファイルを表示 Open project: edgecomputing/cats

Public Methods

Method Description
Index ( int regionId ) : System.Web.Mvc.ActionResult
SIAllocationController ( IReliefRequisitionService requisitionService, ILedgerService ledgerService, IHubAllocationService hubAllocationService, IProjectCodeAllocationService projectCodeAllocationService ) : System
convertToEntityModel ( AllocationAction allocationAction ) : ProjectCodeAllocation
getIndexList ( int regionId ) : List
getList ( int regionId ) : System.Web.Mvc.JsonResult
getSIAllocations ( List pcAllocations ) : List
getSIPCLists ( int reqId, int CommodityID ) : FreeSIPC
geteAllocatedAmount ( ReliefRequisition req ) : decimal
http_getSIPCLists ( int reqId, int CommodityID ) : System.Web.Mvc.JsonResult
updateAllocation ( int regionId, List allocationAction ) : System.Web.Mvc.JsonResult
updateRequisitionStatus ( int regionId, int requisitionId ) : System.Web.Mvc.JsonResult

Method Details

Index() public method

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

SIAllocationController() public method

public SIAllocationController ( IReliefRequisitionService requisitionService, ILedgerService ledgerService, IHubAllocationService hubAllocationService, IProjectCodeAllocationService projectCodeAllocationService ) : System
requisitionService IReliefRequisitionService
ledgerService ILedgerService
hubAllocationService IHubAllocationService
projectCodeAllocationService IProjectCodeAllocationService
return System

convertToEntityModel() public method

public convertToEntityModel ( AllocationAction allocationAction ) : ProjectCodeAllocation
allocationAction Cats.Areas.Logistics.Models.AllocationAction
return Cats.Models.ProjectCodeAllocation

getIndexList() public method

public getIndexList ( int regionId ) : List
regionId int
return List

getList() public method

public getList ( int regionId ) : System.Web.Mvc.JsonResult
regionId int
return System.Web.Mvc.JsonResult

getSIAllocations() public method

public getSIAllocations ( List pcAllocations ) : List
pcAllocations List
return List

getSIPCLists() public method

public getSIPCLists ( int reqId, int CommodityID ) : FreeSIPC
reqId int
CommodityID int
return Cats.Areas.Logistics.Models.FreeSIPC

geteAllocatedAmount() public method

public geteAllocatedAmount ( ReliefRequisition req ) : decimal
req Cats.Models.ReliefRequisition
return decimal

http_getSIPCLists() public method

public http_getSIPCLists ( int reqId, int CommodityID ) : System.Web.Mvc.JsonResult
reqId int
CommodityID int
return System.Web.Mvc.JsonResult

updateAllocation() public method

public updateAllocation ( int regionId, List allocationAction ) : System.Web.Mvc.JsonResult
regionId int
allocationAction List
return System.Web.Mvc.JsonResult

updateRequisitionStatus() public method

public updateRequisitionStatus ( int regionId, int requisitionId ) : System.Web.Mvc.JsonResult
regionId int
requisitionId int
return System.Web.Mvc.JsonResult