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

Inheritance: Controller
Datei anzeigen Open project: edgecomputing/cats

Public Methods

Method Description
CurrentHrdRead ( ) : System.Web.Mvc.ActionResult
DaysElapsed ( TransportOrder transportOrder ) : int
DaysLeft ( TransportOrder transportOrder ) : int
DaysToStart ( TransportOrder transportOrder ) : int
GetAllocationSummary ( ) : System.Web.Mvc.JsonResult
GetBids ( ) : System.Web.Mvc.JsonResult
GetDelayedTOs ( ) : System.Web.Mvc.JsonResult
GetDispatchAllocation ( int program, System.DateTime date ) : System.Web.Mvc.JsonResult
GetDispatchAllocationByHub ( int hubId ) : System.Web.Mvc.JsonResult
GetDonation ( ) : System.Web.Mvc.JsonResult
GetListOfBidWinners ( string id ) : System.Web.Mvc.JsonResult
GetListOfUnContractedBidWinners ( string id ) : System.Web.Mvc.JsonResult
GetNonReportedTransporters ( ) : System.Web.Mvc.JsonResult
GetRecievedRequisitions ( ) : System.Web.Mvc.JsonResult
GetRegions ( ) : System.Web.Mvc.JsonResult
GetRequestType ( ) : System.Web.Mvc.JsonResult
GetRequisitions ( int id ) : System.Web.Mvc.JsonResult
GetSiPcAllocation ( ) : System.Web.Mvc.JsonResult
GetTransportContractExecution ( ) : System.Web.Mvc.JsonResult
GetTransportContractInfo ( ) : System.Web.Mvc.JsonResult
GetTransporters ( ) : System.Web.Mvc.JsonResult
HomeController ( IReliefRequisitionService reliefRequisitionService, Cats.Services.Hub dispatchAllocationService, IUserAccountService userAccountService, ITransportOrderService transportOrderService, ITransportOrderDetailService transportOrderDetailService, Cats.Services.Hub dispatchService, Cats.Services.Hub dispatchDetailService, ISIPCAllocationService sipcAllocationService, IAdminUnitService adminUnitService, IHRDService hrdService, IBidWinnerService bidWinnerService, IBidService bidService, IHRDDetailService hrdDetailService, IRationDetailService rationDetailService, IProgramService programService, IStockStatusService stockStatusService, IReceiptPlanDetailService receiptPlanDetailService, IDeliveryService deliveryService, IGiftCertificateDetailService giftCertificateDetailService, Cats.Services.Hub receiptAllocationService ) : System
ImportantNumbers ( string id, string requestName ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult
NoneReportedTransporters ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
GetBidWinners ( IEnumerable bidWinners ) : IEnumerable
GetDelayedTransportersListViewModel ( IEnumerable transportOrders ) : IEnumerable
GetHRDSummary ( int id ) : DataTable
GetHrds ( IEnumerable hrds ) : IEnumerable

Method Details

CurrentHrdRead() public method

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

DaysElapsed() public method

public DaysElapsed ( TransportOrder transportOrder ) : int
transportOrder Cats.Models.TransportOrder
return int

DaysLeft() public method

public DaysLeft ( TransportOrder transportOrder ) : int
transportOrder Cats.Models.TransportOrder
return int

DaysToStart() public method

public DaysToStart ( TransportOrder transportOrder ) : int
transportOrder Cats.Models.TransportOrder
return int

GetAllocationSummary() public method

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

GetBids() public method

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

GetDelayedTOs() public method

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

GetDispatchAllocation() public method

public GetDispatchAllocation ( int program, System.DateTime date ) : System.Web.Mvc.JsonResult
program int
date System.DateTime
return System.Web.Mvc.JsonResult

GetDispatchAllocationByHub() public method

public GetDispatchAllocationByHub ( int hubId ) : System.Web.Mvc.JsonResult
hubId int
return System.Web.Mvc.JsonResult

GetDonation() public method

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

GetListOfBidWinners() public method

public GetListOfBidWinners ( string id ) : System.Web.Mvc.JsonResult
id string
return System.Web.Mvc.JsonResult

GetListOfUnContractedBidWinners() public method

public GetListOfUnContractedBidWinners ( string id ) : System.Web.Mvc.JsonResult
id string
return System.Web.Mvc.JsonResult

GetNonReportedTransporters() public method

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

GetRecievedRequisitions() public method

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

GetRegions() public method

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

GetRequestType() public method

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

GetRequisitions() public method

public GetRequisitions ( int id ) : System.Web.Mvc.JsonResult
id int
return System.Web.Mvc.JsonResult

GetSiPcAllocation() public method

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

GetTransportContractExecution() public method

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

GetTransportContractInfo() public method

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

GetTransporters() public method

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

HomeController() public method

public HomeController ( IReliefRequisitionService reliefRequisitionService, Cats.Services.Hub dispatchAllocationService, IUserAccountService userAccountService, ITransportOrderService transportOrderService, ITransportOrderDetailService transportOrderDetailService, Cats.Services.Hub dispatchService, Cats.Services.Hub dispatchDetailService, ISIPCAllocationService sipcAllocationService, IAdminUnitService adminUnitService, IHRDService hrdService, IBidWinnerService bidWinnerService, IBidService bidService, IHRDDetailService hrdDetailService, IRationDetailService rationDetailService, IProgramService programService, IStockStatusService stockStatusService, IReceiptPlanDetailService receiptPlanDetailService, IDeliveryService deliveryService, IGiftCertificateDetailService giftCertificateDetailService, Cats.Services.Hub receiptAllocationService ) : System
reliefRequisitionService IReliefRequisitionService
dispatchAllocationService Cats.Services.Hub
userAccountService IUserAccountService
transportOrderService ITransportOrderService
transportOrderDetailService ITransportOrderDetailService
dispatchService Cats.Services.Hub
dispatchDetailService Cats.Services.Hub
sipcAllocationService ISIPCAllocationService
adminUnitService IAdminUnitService
hrdService IHRDService
bidWinnerService IBidWinnerService
bidService IBidService
hrdDetailService IHRDDetailService
rationDetailService IRationDetailService
programService IProgramService
stockStatusService IStockStatusService
receiptPlanDetailService IReceiptPlanDetailService
deliveryService IDeliveryService
giftCertificateDetailService IGiftCertificateDetailService
receiptAllocationService Cats.Services.Hub
return System

ImportantNumbers() public method

public ImportantNumbers ( string id, string requestName ) : System.Web.Mvc.JsonResult
id string
requestName string
return System.Web.Mvc.JsonResult

Index() public method

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

NoneReportedTransporters() public method

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