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

Inheritance: Controller
Mostrar archivo Open project: edgecomputing/cats

Public Methods

Method Description
AllocateProjectCode ( [ request, int regionId, int status ) : System.Web.Mvc.ActionResult
AllocationAdjustment ( int requisitionId ) : System.Web.Mvc.ActionResult
ApproveSiPcAllocation ( int id ) : System.Web.Mvc.ActionResult
AssignHubFromLogisticsDashboard ( int paramRegionId ) : System.Web.Mvc.ActionResult
BindAllocation ( List reliefRequisitions ) : List
DispatchAllocationController ( IReliefRequisitionService reliefRequisitionService, Cats.Services.EarlyWarning.IHubService hubService, Cats.Services.EarlyWarning.IAdminUnitService adminUnitService, INeedAssessmentService needAssessmentService, IHubAllocationService hubAllocationService, IUserAccountService userAccountService, IAllocationByRegionService allocationByRegionService, ITransactionService transactionService ) : System
GetRegions ( ) : System.Web.Mvc.ActionResult
Hub ( int regionId ) : System.Web.Mvc.ActionResult
HubAllocation ( [ request, int regionId ) : System.Web.Mvc.ActionResult
Index ( int regionId = -1 ) : System.Web.Mvc.ActionResult
IndexFromNotification ( int paramRegionId, int recordId ) : System.Web.Mvc.ActionResult
RegionId ( int id ) : System.Web.Mvc.ActionResult
RejectRequsition ( int id ) : System.Web.Mvc.ActionResult
UncommitRequsition ( int id ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
ReadRequisitions ( int regionId ) : System.Web.Mvc.JsonResult
Save ( List allocation ) : System.Web.Mvc.JsonResult

Method Details

AllocateProjectCode() public method

public AllocateProjectCode ( [ request, int regionId, int status ) : System.Web.Mvc.ActionResult
request [
regionId int
status int
return System.Web.Mvc.ActionResult

AllocationAdjustment() public method

public AllocationAdjustment ( int requisitionId ) : System.Web.Mvc.ActionResult
requisitionId int
return System.Web.Mvc.ActionResult

ApproveSiPcAllocation() public method

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

AssignHubFromLogisticsDashboard() public method

public AssignHubFromLogisticsDashboard ( int paramRegionId ) : System.Web.Mvc.ActionResult
paramRegionId int
return System.Web.Mvc.ActionResult

BindAllocation() public method

public BindAllocation ( List reliefRequisitions ) : List
reliefRequisitions List
return List

DispatchAllocationController() public method

public DispatchAllocationController ( IReliefRequisitionService reliefRequisitionService, Cats.Services.EarlyWarning.IHubService hubService, Cats.Services.EarlyWarning.IAdminUnitService adminUnitService, INeedAssessmentService needAssessmentService, IHubAllocationService hubAllocationService, IUserAccountService userAccountService, IAllocationByRegionService allocationByRegionService, ITransactionService transactionService ) : System
reliefRequisitionService IReliefRequisitionService
hubService Cats.Services.EarlyWarning.IHubService
adminUnitService Cats.Services.EarlyWarning.IAdminUnitService
needAssessmentService INeedAssessmentService
hubAllocationService IHubAllocationService
userAccountService IUserAccountService
allocationByRegionService IAllocationByRegionService
transactionService ITransactionService
return System

GetRegions() public method

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

Hub() public method

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

HubAllocation() public method

public HubAllocation ( [ request, int regionId ) : System.Web.Mvc.ActionResult
request [
regionId int
return System.Web.Mvc.ActionResult

Index() public method

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

IndexFromNotification() public method

public IndexFromNotification ( int paramRegionId, int recordId ) : System.Web.Mvc.ActionResult
paramRegionId int
recordId int
return System.Web.Mvc.ActionResult

RegionId() public method

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

RejectRequsition() public method

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

UncommitRequsition() public method

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