C# Class Cats.Areas.Hub.Controllers.ReceiveNewController

Inheritance: Cats.Web.Hub.BaseController
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AllocationStatus ( string receiptAllocationId ) : System.Web.Mvc.JsonResult
Create ( string receiptAllocationId ) : System.Web.Mvc.ActionResult
Create ( string receiptAllocationId, string grn ) : System.Web.Mvc.ActionResult
GetUnities ( ) : System.Web.Mvc.JsonResult
ModeltoNewView ( Receive receive ) : ReceiveNewViewModel
ReceiveNewController ( IUserProfileService userProfileService, IReceiptAllocationService receiptAllocationService, IReceiveService receiveService, ICommodityService commodityService, IUnitService unitService, IStoreService storeService, ITransactionService transactionService, IDonorService donorService, IHubService hub, ITransporterService transporterService ) : System

Private Methods

Method Description
AutoCompleteCommodity ( string term ) : System.Web.Mvc.JsonResult
Create ( ReceiveNewViewModel viewModel ) : System.Web.Mvc.ActionResult
GetCommodities ( string receiptAllocationId ) : System.Web.Mvc.JsonResult
GetGRNList ( string siNo ) : System.Web.Mvc.JsonResult
GetResponsibleDonor ( ) : System.Web.Mvc.JsonResult
GetSourceDonor ( ) : System.Web.Mvc.JsonResult
GetStacks ( int storeId ) : System.Web.Mvc.JsonResult
GetStroes ( int hubId ) : System.Web.Mvc.JsonResult
GetTransporter ( ) : System.Web.Mvc.JsonResult
PopulateCombox ( int parentCommodity ) : void

Method Details

AllocationStatus() public method

public AllocationStatus ( string receiptAllocationId ) : System.Web.Mvc.JsonResult
receiptAllocationId string
return System.Web.Mvc.JsonResult

Create() public method

public Create ( string receiptAllocationId ) : System.Web.Mvc.ActionResult
receiptAllocationId string
return System.Web.Mvc.ActionResult

Create() public method

public Create ( string receiptAllocationId, string grn ) : System.Web.Mvc.ActionResult
receiptAllocationId string
grn string
return System.Web.Mvc.ActionResult

GetUnities() public method

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

ModeltoNewView() public method

public ModeltoNewView ( Receive receive ) : ReceiveNewViewModel
receive Cats.Models.Hubs.Receive
return Cats.Models.Hubs.ViewModels.ReceiveNewViewModel

ReceiveNewController() public method

public ReceiveNewController ( IUserProfileService userProfileService, IReceiptAllocationService receiptAllocationService, IReceiveService receiveService, ICommodityService commodityService, IUnitService unitService, IStoreService storeService, ITransactionService transactionService, IDonorService donorService, IHubService hub, ITransporterService transporterService ) : System
userProfileService IUserProfileService
receiptAllocationService IReceiptAllocationService
receiveService IReceiveService
commodityService ICommodityService
unitService IUnitService
storeService IStoreService
transactionService ITransactionService
donorService IDonorService
hub IHubService
transporterService ITransporterService
return System