C# Класс Cats.Areas.Hub.Controllers.Allocations.DispatchAllocationController

Наследование: Cats.Web.Hub.BaseController
Показать файл Открыть проект

Открытые методы

Метод Описание
AllocationList ( ) : System.Web.Mvc.ActionResult
AvailableRequistions ( bool UnCommited ) : System.Web.Mvc.ActionResult
Close ( string id ) : System.Web.Mvc.ActionResult
Create ( ) : System.Web.Mvc.ActionResult
CreateLoan ( ) : System.Web.Mvc.ActionResult
CreateTransfer ( ) : System.Web.Mvc.ActionResult
DispatchAllocationController ( IDispatchAllocationService dispatchAllocationService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IShippingInstructionService shippingInstructionService, IProjectCodeService projectCodeService, ITransporterService transporterService, ICommonService commonService, IAdminUnitService adminUnitService, IFDPService fdpService, IHubService hubService, ICommodityTypeService commodityTypeService ) : System
DispatchAllocationController ( IDispatchAllocationService dispatchAllocationService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IShippingInstructionService shippingInstructionService, IProjectCodeService projectCodeService, ITransporterService transporterService, ICommonService commonService, IAdminUnitService adminUnitService, IFDPService fdpService, IHubService hubService, ICommodityTypeService commodityTypeService, IDonorService donorService, IUnitService unitService ) : System
Dispose ( ) : void
Edit ( string id ) : System.Web.Mvc.ActionResult
EditLoan ( string id ) : System.Web.Mvc.ActionResult
EditLoan2 ( string id ) : System.Web.Mvc.ActionResult
EditTransfer ( string id ) : System.Web.Mvc.ActionResult
EditTransfer2 ( string id ) : System.Web.Mvc.ActionResult
GetAllocations ( string RquisitionNo, int CommodityID, bool Uncommited ) : System.Web.Mvc.ActionResult
GetAvailableSINumbers ( int CommodityID ) : System.Web.Mvc.ActionResult
GetBalance ( int siNumber, int commodityId, string siNumberText ) : System.Web.Mvc.ActionResult
GetChildren ( int parentId ) : List
GetCommodities ( string RequisitionNo ) : System.Web.Mvc.ActionResult
GetFdps ( int woredaId ) : List
GetSIBalances ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
IsProjectValid ( string ProjectCode ) : System.Web.Mvc.ActionResult
IsSIValid ( string ShippingInstruction ) : System.Web.Mvc.ActionResult
OtherClose ( string id ) : System.Web.Mvc.ActionResult
SaveFDPAllocationAjax ( DispatchAllocationViewModel allocation ) : System.Web.Mvc.ActionResult
SaveTransferAjax ( OtherDispatchAllocationViewModel model ) : System.Web.Mvc.ActionResult
SelectionHeader ( string requisition ) : System.Web.Mvc.ActionResult
SiBalances ( string requisition ) : System.Web.Mvc.ActionResult
ToHubs ( ) : System.Web.Mvc.ActionResult

Allocate dispatch To hubs of the same owner ( Transfer and Swap)

ToOtherOwners ( ) : System.Web.Mvc.ActionResult

Allocate dispatch To the other owners.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
BindDispatchAllocationViewModelDto ( DispatchAllocation dispatchAllocation ) : DispatchAllocationViewModelDto
CloseConfirmed ( string DispatchAllocationID ) : System.Web.Mvc.ActionResult
CommitAllocation ( string checkedRecords, int SINumber, int ProjectCode, string Sitext, string ProjectCodeText ) : System.Web.Mvc.ActionResult
Create ( DispatchAllocationViewModel allocation ) : System.Web.Mvc.ActionResult
Edit ( DispatchAllocationViewModel allocation ) : System.Web.Mvc.ActionResult
GetAllocationModel ( DispatchAllocationViewModel dispatch ) : DispatchAllocation

Gets the allocation model.

GetAllocationModel ( DispatchAllocation dispatch ) : DispatchAllocationViewModel
GetAllocationModelForClose ( DispatchAllocation dispatch ) : DispatchAllocationViewModel
GetAllocationsGrid ( string RquisitionNo, int CommodityID, bool Uncommited ) : System.Web.Mvc.ActionResult
InitLoan ( OtherDispatchAllocationViewModel otherDispatchAllocationViewModel ) : OtherDispatchAllocationViewModel
InitTransfer ( OtherDispatchAllocationViewModel otherDispatchAllocationViewModel ) : OtherDispatchAllocationViewModel
OtherCloseConfirmed ( string OtherDispatchAllocationID ) : System.Web.Mvc.ActionResult
PrepareCreate ( ) : void
PrepareEdit ( DispatchAllocationViewModel allocation ) : void
PrepareFDPForEdit ( int fdpid ) : void
SaveLoan ( OtherDispatchAllocationViewModel model ) : System.Web.Mvc.ActionResult
SaveTransfer ( OtherDispatchAllocationViewModel model ) : System.Web.Mvc.ActionResult

Описание методов

AllocationList() публичный Метод

public AllocationList ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

AvailableRequistions() публичный Метод

public AvailableRequistions ( bool UnCommited ) : System.Web.Mvc.ActionResult
UnCommited bool
Результат System.Web.Mvc.ActionResult

Close() публичный Метод

public Close ( string id ) : System.Web.Mvc.ActionResult
id string
Результат System.Web.Mvc.ActionResult

Create() публичный Метод

public Create ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

CreateLoan() публичный Метод

public CreateLoan ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

CreateTransfer() публичный Метод

public CreateTransfer ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

DispatchAllocationController() публичный Метод

public DispatchAllocationController ( IDispatchAllocationService dispatchAllocationService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IShippingInstructionService shippingInstructionService, IProjectCodeService projectCodeService, ITransporterService transporterService, ICommonService commonService, IAdminUnitService adminUnitService, IFDPService fdpService, IHubService hubService, ICommodityTypeService commodityTypeService ) : System
dispatchAllocationService IDispatchAllocationService
userProfileService IUserProfileService
otherDispatchAllocationService IOtherDispatchAllocationService
shippingInstructionService IShippingInstructionService
projectCodeService IProjectCodeService
transporterService ITransporterService
commonService ICommonService
adminUnitService IAdminUnitService
fdpService IFDPService
hubService IHubService
commodityTypeService ICommodityTypeService
Результат System

DispatchAllocationController() публичный Метод

public DispatchAllocationController ( IDispatchAllocationService dispatchAllocationService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IShippingInstructionService shippingInstructionService, IProjectCodeService projectCodeService, ITransporterService transporterService, ICommonService commonService, IAdminUnitService adminUnitService, IFDPService fdpService, IHubService hubService, ICommodityTypeService commodityTypeService, IDonorService donorService, IUnitService unitService ) : System
dispatchAllocationService IDispatchAllocationService
userProfileService IUserProfileService
otherDispatchAllocationService IOtherDispatchAllocationService
shippingInstructionService IShippingInstructionService
projectCodeService IProjectCodeService
transporterService ITransporterService
commonService ICommonService
adminUnitService IAdminUnitService
fdpService IFDPService
hubService IHubService
commodityTypeService ICommodityTypeService
donorService IDonorService
unitService IUnitService
Результат System

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

Edit() публичный Метод

public Edit ( string id ) : System.Web.Mvc.ActionResult
id string
Результат System.Web.Mvc.ActionResult

EditLoan() публичный Метод

public EditLoan ( string id ) : System.Web.Mvc.ActionResult
id string
Результат System.Web.Mvc.ActionResult

EditLoan2() публичный Метод

public EditLoan2 ( string id ) : System.Web.Mvc.ActionResult
id string
Результат System.Web.Mvc.ActionResult

EditTransfer() публичный Метод

public EditTransfer ( string id ) : System.Web.Mvc.ActionResult
id string
Результат System.Web.Mvc.ActionResult

EditTransfer2() публичный Метод

public EditTransfer2 ( string id ) : System.Web.Mvc.ActionResult
id string
Результат System.Web.Mvc.ActionResult

GetAllocations() публичный Метод

public GetAllocations ( string RquisitionNo, int CommodityID, bool Uncommited ) : System.Web.Mvc.ActionResult
RquisitionNo string
CommodityID int
Uncommited bool
Результат System.Web.Mvc.ActionResult

GetAvailableSINumbers() публичный Метод

public GetAvailableSINumbers ( int CommodityID ) : System.Web.Mvc.ActionResult
CommodityID int
Результат System.Web.Mvc.ActionResult

GetBalance() публичный Метод

public GetBalance ( int siNumber, int commodityId, string siNumberText ) : System.Web.Mvc.ActionResult
siNumber int
commodityId int
siNumberText string
Результат System.Web.Mvc.ActionResult

GetChildren() публичный Метод

public GetChildren ( int parentId ) : List
parentId int
Результат List

GetCommodities() публичный Метод

public GetCommodities ( string RequisitionNo ) : System.Web.Mvc.ActionResult
RequisitionNo string
Результат System.Web.Mvc.ActionResult

GetFdps() публичный Метод

public GetFdps ( int woredaId ) : List
woredaId int
Результат List

GetSIBalances() публичный Метод

public GetSIBalances ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

Index() публичный Метод

public Index ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

IsProjectValid() публичный Метод

public IsProjectValid ( string ProjectCode ) : System.Web.Mvc.ActionResult
ProjectCode string
Результат System.Web.Mvc.ActionResult

IsSIValid() публичный Метод

public IsSIValid ( string ShippingInstruction ) : System.Web.Mvc.ActionResult
ShippingInstruction string
Результат System.Web.Mvc.ActionResult

OtherClose() публичный Метод

public OtherClose ( string id ) : System.Web.Mvc.ActionResult
id string
Результат System.Web.Mvc.ActionResult

SaveFDPAllocationAjax() публичный Метод

public SaveFDPAllocationAjax ( DispatchAllocationViewModel allocation ) : System.Web.Mvc.ActionResult
allocation Cats.Models.Hubs.ViewModels.DispatchAllocationViewModel
Результат System.Web.Mvc.ActionResult

SaveTransferAjax() публичный Метод

public SaveTransferAjax ( OtherDispatchAllocationViewModel model ) : System.Web.Mvc.ActionResult
model Cats.Models.Hubs.ViewModels.Dispatch.OtherDispatchAllocationViewModel
Результат System.Web.Mvc.ActionResult

SelectionHeader() публичный Метод

public SelectionHeader ( string requisition ) : System.Web.Mvc.ActionResult
requisition string
Результат System.Web.Mvc.ActionResult

SiBalances() публичный Метод

public SiBalances ( string requisition ) : System.Web.Mvc.ActionResult
requisition string
Результат System.Web.Mvc.ActionResult

ToHubs() публичный Метод

Allocate dispatch To hubs of the same owner ( Transfer and Swap)
public ToHubs ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult

ToOtherOwners() публичный Метод

Allocate dispatch To the other owners.
public ToOtherOwners ( ) : System.Web.Mvc.ActionResult
Результат System.Web.Mvc.ActionResult