C# Class Cats.Web.Hub.Controllers.DispatchController

Inheritance: BaseController
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode Description
AvailbaleCommodities ( string siNumber ) : System.Web.Mvc.ActionResult
Create ( string ginNo, int type ) : System.Web.Mvc.ActionResult
DispatchController ( IDispatchAllocationService dispatchAllocationService, IDispatchService dispatchService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IDispatchDetailService dispatchDetailService, IUnitService unitService, ICommodityTypeService commodityTypeService, IProgramService programService, ITransporterService transporterService, IPeriodService periodService, ICommodityService commodityService, ITransactionService transactionService, IStoreService storeService, IAdminUnitService adminUnitService, IHubService hubService, IFDPService fdpService, IProjectCodeService projectCodeService, IShippingInstructionService shippingInstructionService ) : System
Edit ( string id ) : System.Web.Mvc.ActionResult
FDPBalance ( string requisitionNo, int fdpid ) : System.Web.Mvc.ActionResult
GetChildren ( int parentId ) : List
GetFdps ( int woredaId ) : List
Index ( ) : System.Web.Mvc.ViewResult
IsProjectValid ( string projectNumber ) : System.Web.Mvc.ActionResult
IsSIValid ( string siNumber, int fdpid ) : System.Web.Mvc.ActionResult
JsonDispatch ( string ginNo ) : System.Web.Mvc.ActionResult
JsonRegionZones ( string requisitionNumber ) : System.Web.Mvc.ActionResult
Log ( ) : System.Web.Mvc.ViewResult
Months ( int year ) : System.Web.Mvc.ActionResult
NotUnique ( string gin, string dispatchID ) : System.Web.Mvc.ActionResult
_DispatchPartial ( string ginNo, int type ) : System.Web.Mvc.ActionResult

Private Methods

Méthode Description
Create ( DispatchModel dispatchModel ) : System.Web.Mvc.ActionResult
DispatchListGrid ( string dispatchAllocationID ) : System.Web.Mvc.ActionResult
DispatchListGridListGrid ( string dispatchID ) : System.Web.Mvc.ActionResult
DispatchOtherListGrid ( string otherDispatchAllocationID ) : System.Web.Mvc.ActionResult
Edit ( Dispatch dispatch ) : System.Web.Mvc.ActionResult
GenerateDispatchDetail ( IEnumerable c ) : List
GetFdpAllocations ( bool closed, int adminUnitID, int commodityType ) : System.Web.Mvc.ActionResult
GetLoanAllocations ( bool closed, int commodityType ) : System.Web.Mvc.ActionResult
GetSelectedCommodities ( string jsonArray ) : List
GetTransferAllocations ( bool closed, int commodityType ) : System.Web.Mvc.ActionResult
InsertDispatch ( DispatchModel dispatchModel, UserProfile user ) : void
PrepareCreate ( int type ) : void
PrepareEdit ( Dispatch dispatch, UserProfile user, int type ) : void
PrepareFDPCreate ( ) : void
PrepareFDPForEdit ( int fdpid ) : void
SelectDispatchsCommodities ( string dispatchId ) : System.Web.Mvc.ActionResult

Method Details

AvailbaleCommodities() public méthode

public AvailbaleCommodities ( string siNumber ) : System.Web.Mvc.ActionResult
siNumber string
Résultat System.Web.Mvc.ActionResult

Create() public méthode

public Create ( string ginNo, int type ) : System.Web.Mvc.ActionResult
ginNo string
type int
Résultat System.Web.Mvc.ActionResult

DispatchController() public méthode

public DispatchController ( IDispatchAllocationService dispatchAllocationService, IDispatchService dispatchService, IUserProfileService userProfileService, IOtherDispatchAllocationService otherDispatchAllocationService, IDispatchDetailService dispatchDetailService, IUnitService unitService, ICommodityTypeService commodityTypeService, IProgramService programService, ITransporterService transporterService, IPeriodService periodService, ICommodityService commodityService, ITransactionService transactionService, IStoreService storeService, IAdminUnitService adminUnitService, IHubService hubService, IFDPService fdpService, IProjectCodeService projectCodeService, IShippingInstructionService shippingInstructionService ) : System
dispatchAllocationService IDispatchAllocationService
dispatchService IDispatchService
userProfileService IUserProfileService
otherDispatchAllocationService IOtherDispatchAllocationService
dispatchDetailService IDispatchDetailService
unitService IUnitService
commodityTypeService ICommodityTypeService
programService IProgramService
transporterService ITransporterService
periodService IPeriodService
commodityService ICommodityService
transactionService ITransactionService
storeService IStoreService
adminUnitService IAdminUnitService
hubService IHubService
fdpService IFDPService
projectCodeService IProjectCodeService
shippingInstructionService IShippingInstructionService
Résultat System

Edit() public méthode

public Edit ( string id ) : System.Web.Mvc.ActionResult
id string
Résultat System.Web.Mvc.ActionResult

FDPBalance() public méthode

public FDPBalance ( string requisitionNo, int fdpid ) : System.Web.Mvc.ActionResult
requisitionNo string
fdpid int
Résultat System.Web.Mvc.ActionResult

GetChildren() public méthode

public GetChildren ( int parentId ) : List
parentId int
Résultat List

GetFdps() public méthode

public GetFdps ( int woredaId ) : List
woredaId int
Résultat List

Index() public méthode

public Index ( ) : System.Web.Mvc.ViewResult
Résultat System.Web.Mvc.ViewResult

IsProjectValid() public méthode

public IsProjectValid ( string projectNumber ) : System.Web.Mvc.ActionResult
projectNumber string
Résultat System.Web.Mvc.ActionResult

IsSIValid() public méthode

public IsSIValid ( string siNumber, int fdpid ) : System.Web.Mvc.ActionResult
siNumber string
fdpid int
Résultat System.Web.Mvc.ActionResult

JsonDispatch() public méthode

public JsonDispatch ( string ginNo ) : System.Web.Mvc.ActionResult
ginNo string
Résultat System.Web.Mvc.ActionResult

JsonRegionZones() public méthode

public JsonRegionZones ( string requisitionNumber ) : System.Web.Mvc.ActionResult
requisitionNumber string
Résultat System.Web.Mvc.ActionResult

Log() public méthode

public Log ( ) : System.Web.Mvc.ViewResult
Résultat System.Web.Mvc.ViewResult

Months() public méthode

public Months ( int year ) : System.Web.Mvc.ActionResult
year int
Résultat System.Web.Mvc.ActionResult

NotUnique() public méthode

public NotUnique ( string gin, string dispatchID ) : System.Web.Mvc.ActionResult
gin string
dispatchID string
Résultat System.Web.Mvc.ActionResult

_DispatchPartial() public méthode

public _DispatchPartial ( string ginNo, int type ) : System.Web.Mvc.ActionResult
ginNo string
type int
Résultat System.Web.Mvc.ActionResult