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

Inheritance: Controller
Mostrar archivo Open project: edgecomputing/cats

Public Methods

Method Description
FDPSIAllocationController ( IReliefRequisitionService requisitionService, ILedgerService ledgerService, IHubAllocationService hubAllocationService, IHubService hubService, ISIPCAllocationService allocationService, ITransactionService transactionService ) : System
Index ( int regionId, int RequisitionID ) : System.Web.Mvc.ActionResult
ToAllocationViewModel ( List allocation ) : List
UpdateAllocation ( List allocations ) : System.Web.Mvc.ActionResult
getIndexList ( int regionId, int RequisitionID ) : List
getRequestDetail ( ReliefRequisition Request ) : List
getRequisitionList ( int regionId, int RequisitionID ) : System.Web.Mvc.ActionResult
getSIPCLists ( int reqId, int CommodityID ) : FreeSIPC
updateRequisitionStatus ( int RequisitionId ) : System.Web.Mvc.JsonResult

Method Details

FDPSIAllocationController() public method

public FDPSIAllocationController ( IReliefRequisitionService requisitionService, ILedgerService ledgerService, IHubAllocationService hubAllocationService, IHubService hubService, ISIPCAllocationService allocationService, ITransactionService transactionService ) : System
requisitionService IReliefRequisitionService
ledgerService ILedgerService
hubAllocationService IHubAllocationService
hubService IHubService
allocationService ISIPCAllocationService
transactionService ITransactionService
return System

Index() public method

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

ToAllocationViewModel() public method

public ToAllocationViewModel ( List allocation ) : List
allocation List
return List

UpdateAllocation() public method

public UpdateAllocation ( List allocations ) : System.Web.Mvc.ActionResult
allocations List
return System.Web.Mvc.ActionResult

getIndexList() public method

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

getRequestDetail() public method

public getRequestDetail ( ReliefRequisition Request ) : List
Request Cats.Models.ReliefRequisition
return List

getRequisitionList() public method

public getRequisitionList ( int regionId, int RequisitionID ) : System.Web.Mvc.ActionResult
regionId int
RequisitionID int
return System.Web.Mvc.ActionResult

getSIPCLists() public method

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

updateRequisitionStatus() public method

public updateRequisitionStatus ( int RequisitionId ) : System.Web.Mvc.JsonResult
RequisitionId int
return System.Web.Mvc.JsonResult