C# Class Cats.Areas.EarlyWarning.Controllers.ReliefRequisitionController

Inheritance: Controller
Mostra file Open project: edgecomputing/cats Class Usage Examples

Public Methods

Method Description
Allocation_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
Allocation_Update ( [ request, ReliefRequisitionDetailViewModel reliefRequisitionDetailViewModel ) : System.Web.Mvc.ActionResult
CancelChanges ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
GetCommodityRation ( int requisitionID, int commodityID ) : decimal
Index ( ) : System.Web.Mvc.ViewResult
ReliefRequisitionController ( IReliefRequisitionService reliefRequisitionService, IWorkflowStatusService workflowStatusService, IReliefRequisitionDetailService reliefRequisitionDetailService, IUserAccountService userAccountService, IRegionalRequestService regionalRequestService, IRationService rationService, IDonorService donorService, INotificationService notificationService, IPlanService planService, ITransactionService transactionService, ICommonService commonService, IRationDetailService rationDetailService ) : System
Requisition_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
Requisition_Search ( [ request, int regionID, int programID, int id ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Allocation ( int id ) : System.Web.Mvc.ActionResult
Allocation_Create ( [ request, ReliefRequisitionDetailViewModel reliefRequisitionDetailViewModel ) : System.Web.Mvc.ActionResult
Allocation_Destroy ( [ request, ReliefRequisitionDetail reliefRequisitionDetail ) : System.Web.Mvc.ActionResult
ConfirmSendToLogistics ( int requisitionid ) : System.Web.Mvc.ActionResult
CreateRequisitionForIDPS ( Plan plan, int id ) : System.Web.Mvc.ActionResult
CreateRequisitionForIDPS ( int id, int programId = -1 ) : System.Web.Mvc.ActionResult
CreateRequisiton ( int id ) : System.Web.Mvc.ActionResult
Edit ( ReliefRequisition reliefrequisition, System.Web.Mvc.FormCollection collection ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
GetDonorCoveredWoredas ( IEnumerable reliefRequisitionDetailViewModels, int requisitionID ) : IEnumerable
Index ( SearchRequistionViewModel filter ) : System.Web.Mvc.ActionResult
NewRequisiton ( List input ) : System.Web.Mvc.ActionResult
NewRequisiton ( List input, int id ) : System.Web.Mvc.ActionResult
NewRequisiton ( int id ) : System.Web.Mvc.ViewResult
Populatelookup ( ) : void
Requisition_Destroy ( [ request, ReliefRequisition reliefRequisition ) : System.Web.Mvc.ActionResult
Requisition_Update ( [ request, ReliefRequisitionViewModel reliefRequisitionViewModel ) : System.Web.Mvc.ActionResult
RequistionDetailEdit ( IEnumerable input ) : System.Web.Mvc.ActionResult
SendNotification ( ReliefRequisition requisition ) : void
SendToLogistics ( int id ) : System.Web.Mvc.ActionResult

Method Details

Allocation_Read() public method

public Allocation_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
request [
id int
return System.Web.Mvc.ActionResult

Allocation_Update() public method

public Allocation_Update ( [ request, ReliefRequisitionDetailViewModel reliefRequisitionDetailViewModel ) : System.Web.Mvc.ActionResult
request [
reliefRequisitionDetailViewModel Cats.Areas.EarlyWarning.Models.ReliefRequisitionDetailViewModel
return System.Web.Mvc.ActionResult

CancelChanges() public method

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

Details() public method

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

GetCommodityRation() public method

public GetCommodityRation ( int requisitionID, int commodityID ) : decimal
requisitionID int
commodityID int
return decimal

Index() public method

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

ReliefRequisitionController() public method

public ReliefRequisitionController ( IReliefRequisitionService reliefRequisitionService, IWorkflowStatusService workflowStatusService, IReliefRequisitionDetailService reliefRequisitionDetailService, IUserAccountService userAccountService, IRegionalRequestService regionalRequestService, IRationService rationService, IDonorService donorService, INotificationService notificationService, IPlanService planService, ITransactionService transactionService, ICommonService commonService, IRationDetailService rationDetailService ) : System
reliefRequisitionService IReliefRequisitionService
workflowStatusService IWorkflowStatusService
reliefRequisitionDetailService IReliefRequisitionDetailService
userAccountService IUserAccountService
regionalRequestService IRegionalRequestService
rationService IRationService
donorService IDonorService
notificationService INotificationService
planService IPlanService
transactionService ITransactionService
commonService ICommonService
rationDetailService IRationDetailService
return System

Requisition_Read() public method

public Requisition_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
request [
id int
return System.Web.Mvc.ActionResult

Requisition_Search() public method

public Requisition_Search ( [ request, int regionID, int programID, int id ) : System.Web.Mvc.ActionResult
request [
regionID int
programID int
id int
return System.Web.Mvc.ActionResult