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

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

Public Methods

Method Description
ApproveBid ( int id ) : System.Web.Mvc.ActionResult
BidController ( IBidService bidService, IBidDetailService bidDetailService, IAdminUnitService adminUnitService, IStatusService statusService, ITransportBidPlanService transportBidPlanService, ITransportBidPlanDetailService transportBidPlanDetailService, IApplicationSettingService applicationSettingService, IUserAccountService userAccountService, ITransportBidQuotationService transportBidQuotationService, IBidWinnerService bidWinnerService, ITransporterService transporterService, IHubService hubService, IWorkflowStatusService workflowStatusService ) : System
BidDetail_Read ( int bidID, [ request ) : System.Web.Mvc.ActionResult
Bid_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
CancelBidWinners ( WoredaCancelBidWinnerViewModel woredaCancelBidWinnerViewModel ) : System.Web.Mvc.ActionResult
CloseBid ( int id ) : System.Web.Mvc.ActionResult
Create ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ViewResult
Edit ( int id ) : ActionResult
EditBidStatus ( int id ) : ActionResult
Index ( int id ) : ActionResult
LoadBidWinnerCancel ( WoredaCancelBidWinnerViewModel woredaCancelBidWinnerViewModel ) : ActionResult
LoadBidWinnerLeave ( WoredaBidWinnerViewModel woredaBidWinnerViewModel ) : ActionResult
MakeActive ( int id ) : ActionResult
MergeBidWinners ( WoredaBidWinnerViewModel woredaBidWinnerViewModel ) : ActionResult
NoOfferWoredas ( int bidID ) : ActionResult
ReadWoredasWithBidWinners ( int bidID, int regionID, int rank, int hubID ) : List
ReadWoredasWithOutBidOffer ( [ request, int bidID, int regionID ) : ActionResult

Private Methods

Method Description
BidDetail_Update ( [ request, [ Prefix = "models")]IEnumerable<BidDetail>bidDetails ) : System.Web.Mvc.ActionResult
Create ( CreateBidViewModel bidViewModel ) : System.Web.Mvc.ActionResult
Edit ( List input ) : ActionResult
EditBidStatus ( Bid bid ) : ActionResult
GetBid ( CreateBidViewModel bidViewModel ) : Bid
GetBidDetails ( IEnumerable bidDetails ) : IEnumerable
GetBids ( IEnumerable bids ) : IEnumerable
IsBidMadeForThisRegion ( int regionId, int bidPlanId ) : Boolean
WoredasBidStatus ( ) : ActionResult
WoredasBidStatus ( PriceQuotationFilterOfferlessViewModel filter ) : ActionResult

Method Details

ApproveBid() public method

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

BidController() public method

public BidController ( IBidService bidService, IBidDetailService bidDetailService, IAdminUnitService adminUnitService, IStatusService statusService, ITransportBidPlanService transportBidPlanService, ITransportBidPlanDetailService transportBidPlanDetailService, IApplicationSettingService applicationSettingService, IUserAccountService userAccountService, ITransportBidQuotationService transportBidQuotationService, IBidWinnerService bidWinnerService, ITransporterService transporterService, IHubService hubService, IWorkflowStatusService workflowStatusService ) : System
bidService IBidService
bidDetailService IBidDetailService
adminUnitService IAdminUnitService
statusService IStatusService
transportBidPlanService ITransportBidPlanService
transportBidPlanDetailService ITransportBidPlanDetailService
applicationSettingService IApplicationSettingService
userAccountService IUserAccountService
transportBidQuotationService ITransportBidQuotationService
bidWinnerService IBidWinnerService
transporterService ITransporterService
hubService IHubService
workflowStatusService IWorkflowStatusService
return System

BidDetail_Read() public method

public BidDetail_Read ( int bidID, [ request ) : System.Web.Mvc.ActionResult
bidID int
request [
return System.Web.Mvc.ActionResult

Bid_Read() public method

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

CancelBidWinners() public method

public CancelBidWinners ( WoredaCancelBidWinnerViewModel woredaCancelBidWinnerViewModel ) : System.Web.Mvc.ActionResult
woredaCancelBidWinnerViewModel Cats.Areas.Procurement.Models.WoredaCancelBidWinnerViewModel
return System.Web.Mvc.ActionResult

CloseBid() public method

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

Create() public method

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

Details() public method

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

Edit() public method

public Edit ( int id ) : ActionResult
id int
return ActionResult

EditBidStatus() public method

public EditBidStatus ( int id ) : ActionResult
id int
return ActionResult

Index() public method

public Index ( int id ) : ActionResult
id int
return ActionResult

LoadBidWinnerCancel() public method

public LoadBidWinnerCancel ( WoredaCancelBidWinnerViewModel woredaCancelBidWinnerViewModel ) : ActionResult
woredaCancelBidWinnerViewModel WoredaCancelBidWinnerViewModel
return ActionResult

LoadBidWinnerLeave() public method

public LoadBidWinnerLeave ( WoredaBidWinnerViewModel woredaBidWinnerViewModel ) : ActionResult
woredaBidWinnerViewModel WoredaBidWinnerViewModel
return ActionResult

MakeActive() public method

public MakeActive ( int id ) : ActionResult
id int
return ActionResult

MergeBidWinners() public method

public MergeBidWinners ( WoredaBidWinnerViewModel woredaBidWinnerViewModel ) : ActionResult
woredaBidWinnerViewModel WoredaBidWinnerViewModel
return ActionResult

NoOfferWoredas() public method

public NoOfferWoredas ( int bidID ) : ActionResult
bidID int
return ActionResult

ReadWoredasWithBidWinners() public method

public ReadWoredasWithBidWinners ( int bidID, int regionID, int rank, int hubID ) : List
bidID int
regionID int
rank int
hubID int
return List

ReadWoredasWithOutBidOffer() public method

public ReadWoredasWithOutBidOffer ( [ request, int bidID, int regionID ) : ActionResult
request [
bidID int
regionID int
return ActionResult