C# Class Cats.Areas.Settings.Controllers.FDPController

Inheritance: Controller
Show file Open project: edgecomputing/cats

Public Methods

Method Description
FDPController ( IAdminUnitService adminUnitService, IFDPService fdpService ) : System
FDP_Destroy ( int id ) : System.Web.Mvc.ActionResult
FDP_Read ( [ request, int adminUnitID ) : System.Web.Mvc.JsonResult
FDP_Update ( int fdpId ) : System.Web.Mvc.ActionResult
GetCascadeRegions ( [ request ) : System.Web.Mvc.JsonResult
GetCascadeWoredas ( [ request, int zoneID ) : System.Web.Mvc.JsonResult
GetCascadeZones ( [ request, int AdminUnitID ) : System.Web.Mvc.JsonResult
GetFdpGeolocation ( int fdpId ) : System.Web.Mvc.JsonResult
GetFdps ( int woredaId ) : System.Web.Mvc.ActionResult
GetGeography ( ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult
map ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
CheckIfDFPExists ( int woredaId, string name ) : bool
FDP_Create ( [ request, FDPViewModel fdpViewModel, int adminUnitID ) : System.Web.Mvc.ActionResult
FDP_Save ( [ request, FDPViewModel fdpViewModel ) : System.Web.Mvc.ActionResult
FDP_Update ( [ request, FDPViewModel fdpViewModel ) : System.Web.Mvc.ActionResult

Method Details

FDPController() public method

public FDPController ( IAdminUnitService adminUnitService, IFDPService fdpService ) : System
adminUnitService IAdminUnitService
fdpService IFDPService
return System

FDP_Destroy() public method

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

FDP_Read() public method

public FDP_Read ( [ request, int adminUnitID ) : System.Web.Mvc.JsonResult
request [
adminUnitID int
return System.Web.Mvc.JsonResult

FDP_Update() public method

public FDP_Update ( int fdpId ) : System.Web.Mvc.ActionResult
fdpId int
return System.Web.Mvc.ActionResult

GetCascadeRegions() public method

public GetCascadeRegions ( [ request ) : System.Web.Mvc.JsonResult
request [
return System.Web.Mvc.JsonResult

GetCascadeWoredas() public method

public GetCascadeWoredas ( [ request, int zoneID ) : System.Web.Mvc.JsonResult
request [
zoneID int
return System.Web.Mvc.JsonResult

GetCascadeZones() public method

public GetCascadeZones ( [ request, int AdminUnitID ) : System.Web.Mvc.JsonResult
request [
AdminUnitID int
return System.Web.Mvc.JsonResult

GetFdpGeolocation() public method

public GetFdpGeolocation ( int fdpId ) : System.Web.Mvc.JsonResult
fdpId int
return System.Web.Mvc.JsonResult

GetFdps() public method

public GetFdps ( int woredaId ) : System.Web.Mvc.ActionResult
woredaId int
return System.Web.Mvc.ActionResult

GetGeography() public method

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

Index() public method

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

map() public method

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