C# Class MainSaite.Controllers.ClientController

Inheritance: BaseController
Mostrar archivo Open project: CH033dotNET/Taxi

Public Methods

Method Description
ClientBonuses ( ) : System.Web.Mvc.ActionResult
ClientController ( IOrderManagerEx orderManager, IPersonManager personManager, IFeedbackManager feedbackManager, IUserManager userManager, ITariffExManager tariffManager ) : System
DriveHistory ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
UpdateOrder ( OrderExDTO order ) : System.Web.Mvc.JsonResult

Private Methods

Method Description
AddFeedback ( FeedbackDTO feedback ) : System.Web.Mvc.JsonResult
AddOrder ( OrderExDTO order ) : System.Web.Mvc.JsonResult
CancelOrder ( int id ) : void
GetFeedback ( int id ) : System.Web.Mvc.JsonResult
GetOrder ( int id ) : System.Web.Mvc.JsonResult
GetPerson ( int id ) : System.Web.Mvc.JsonResult
GetTariff ( ) : System.Web.Mvc.JsonResult
SetClientBonus ( int userId, double bonus, double paidByBonus ) : System.Web.Mvc.JsonResult
SetClientFeedback ( int orderId, int feedbackId ) : void
UpdateFeedback ( FeedbackDTO feedback ) : System.Web.Mvc.JsonResult
UseClientBonus ( int userId, double price ) : JsonResult

Method Details

ClientBonuses() public method

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

ClientController() public method

public ClientController ( IOrderManagerEx orderManager, IPersonManager personManager, IFeedbackManager feedbackManager, IUserManager userManager, ITariffExManager tariffManager ) : System
orderManager IOrderManagerEx
personManager IPersonManager
feedbackManager IFeedbackManager
userManager IUserManager
tariffManager ITariffExManager
return System

DriveHistory() public method

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

Index() public method

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

UpdateOrder() public method

public UpdateOrder ( OrderExDTO order ) : System.Web.Mvc.JsonResult
order Model.DTO.OrderExDTO
return System.Web.Mvc.JsonResult