C# Class MainSaite.Controllers.TariffExController

Inheritance: BaseController
显示文件 Open project: CH033dotNET/Taxi

Public Methods

Method Description
DeleteTariff ( int id ) : bool
EnableTariff ( int id ) : bool
GetAllActiveTariffs ( ) : System.Web.Mvc.JsonResult
GetTariffData ( int id ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult
SaveTariff ( TariffExDTO tariff ) : bool
TariffExController ( ITariffExManager manager ) : System

Method Details

DeleteTariff() public method

public DeleteTariff ( int id ) : bool
id int
return bool

EnableTariff() public method

public EnableTariff ( int id ) : bool
id int
return bool

GetAllActiveTariffs() public method

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

GetTariffData() public method

public GetTariffData ( int id ) : System.Web.Mvc.JsonResult
id int
return System.Web.Mvc.JsonResult

Index() public method

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

SaveTariff() public method

public SaveTariff ( TariffExDTO tariff ) : bool
tariff TariffExDTO
return bool

TariffExController() public method

public TariffExController ( ITariffExManager manager ) : System
manager ITariffExManager
return System