C# Class Cats.Areas.Procurement.Controllers.TransportBidPlanController

Inheritance: Controller
Datei anzeigen Open project: edgecomputing/cats

Public Methods

Method Description
CopyListToView ( IEnumerable bidplan ) : IEnumerable
CopyToView ( TransportBidPlan transportbidplan ) : TransportBidPlanViewModel
Create ( ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
DeleteAjax2 ( [ request, TransportBidPlan transportbidplan ) : System.Web.Mvc.ActionResult
DeleteBidPlan ( int id ) : System.Web.Mvc.ActionResult
DeleteWarehouseSelectionAjax ( int TransportBidPlanID, int selectedWoreda, int sourceWarehouse ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
GetAllWoredas ( int regionID ) : List
GetListJson ( [ request ) : System.Web.Mvc.ActionResult
GetWoredaWarehouseProgram ( int BidPlanID, int WoredaID ) : List
Index ( ) : System.Web.Mvc.ActionResult
ReadJson ( [ request, int TransportBidPlanID, int selectedWoreda ) : System.Web.Mvc.ActionResult
TransportBidPlanController ( ITransportBidPlanService transportBidPlanServiceParam, IAdminUnitService adminUnitServiceParam, IProgramService programServiceParam, ITransportBidPlanDetailService transportBidPlanDetailServiceParam, IHubService hubServiceParam ) : System
UpdateAjax ( [ request, TransportBidPlan transportbidplan ) : System.Web.Mvc.ActionResult
UpdateBidPlanDetail ( TransportBidPlanDetail bpd ) : void
UpdateWarehouseSelectionAjax ( [ request, WarehouseProgramViewModel WarehouseAllocation ) : System.Web.Mvc.ActionResult
WarehouseSelection ( int id ) : System.Web.Mvc.ActionResult
fetchFromDB ( int id ) : TransportBidPlan
loadLookups ( TransportBidPlan transportbidplan ) : bool

Private Methods

Method Description
Create ( TransportBidPlan transportbidplan ) : System.Web.Mvc.ActionResult
CreateAjax ( [ request, TransportBidPlan transportbidplan ) : System.Web.Mvc.ActionResult
CreateWarehouseSelectionAjax ( [ request, WarehouseProgramViewModel warehouseAllocation, int transportBidPlanID, int selectedWoreda ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( int id ) : System.Web.Mvc.ActionResult
Edit ( TransportBidPlan transportbidplan ) : System.Web.Mvc.ActionResult

Method Details

CopyListToView() public method

public CopyListToView ( IEnumerable bidplan ) : IEnumerable
bidplan IEnumerable
return IEnumerable

CopyToView() public method

public CopyToView ( TransportBidPlan transportbidplan ) : TransportBidPlanViewModel
transportbidplan Cats.Models.TransportBidPlan
return Cats.Areas.Procurement.Models.TransportBidPlanViewModel

Create() public method

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

Delete() public method

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

DeleteAjax2() public method

public DeleteAjax2 ( [ request, TransportBidPlan transportbidplan ) : System.Web.Mvc.ActionResult
request [
transportbidplan Cats.Models.TransportBidPlan
return System.Web.Mvc.ActionResult

DeleteBidPlan() public method

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

DeleteWarehouseSelectionAjax() public method

public DeleteWarehouseSelectionAjax ( int TransportBidPlanID, int selectedWoreda, int sourceWarehouse ) : System.Web.Mvc.ActionResult
TransportBidPlanID int
selectedWoreda int
sourceWarehouse int
return System.Web.Mvc.ActionResult

Details() public method

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

Edit() public method

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

GetAllWoredas() public method

public GetAllWoredas ( int regionID ) : List
regionID int
return List

GetListJson() public method

public GetListJson ( [ request ) : System.Web.Mvc.ActionResult
request [
return System.Web.Mvc.ActionResult

GetWoredaWarehouseProgram() public method

public GetWoredaWarehouseProgram ( int BidPlanID, int WoredaID ) : List
BidPlanID int
WoredaID int
return List

Index() public method

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

ReadJson() public method

public ReadJson ( [ request, int TransportBidPlanID, int selectedWoreda ) : System.Web.Mvc.ActionResult
request [
TransportBidPlanID int
selectedWoreda int
return System.Web.Mvc.ActionResult

TransportBidPlanController() public method

public TransportBidPlanController ( ITransportBidPlanService transportBidPlanServiceParam, IAdminUnitService adminUnitServiceParam, IProgramService programServiceParam, ITransportBidPlanDetailService transportBidPlanDetailServiceParam, IHubService hubServiceParam ) : System
transportBidPlanServiceParam ITransportBidPlanService
adminUnitServiceParam IAdminUnitService
programServiceParam IProgramService
transportBidPlanDetailServiceParam ITransportBidPlanDetailService
hubServiceParam IHubService
return System

UpdateAjax() public method

public UpdateAjax ( [ request, TransportBidPlan transportbidplan ) : System.Web.Mvc.ActionResult
request [
transportbidplan Cats.Models.TransportBidPlan
return System.Web.Mvc.ActionResult

UpdateBidPlanDetail() public method

public UpdateBidPlanDetail ( TransportBidPlanDetail bpd ) : void
bpd Cats.Models.TransportBidPlanDetail
return void

UpdateWarehouseSelectionAjax() public method

public UpdateWarehouseSelectionAjax ( [ request, WarehouseProgramViewModel WarehouseAllocation ) : System.Web.Mvc.ActionResult
request [
WarehouseAllocation Cats.Areas.Procurement.Models.WarehouseProgramViewModel
return System.Web.Mvc.ActionResult

WarehouseSelection() public method

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

fetchFromDB() public method

public fetchFromDB ( int id ) : TransportBidPlan
id int
return Cats.Models.TransportBidPlan

loadLookups() public method

public loadLookups ( TransportBidPlan transportbidplan ) : bool
transportbidplan Cats.Models.TransportBidPlan
return bool