C# Class Cats.Areas.Hub.Controllers.AdminUnitController

Inheritance: Cats.Web.Hub.BaseController
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode Description
AdminUnitController ( IAdminUnitService adminUnitService, IUserProfileService userProfileService, IDispatchAllocationService dispatchAllocationService ) : System
GetChildren ( int unitId ) : System.Web.Mvc.ActionResult
GetChildrenReport ( int unitId ) : System.Web.Mvc.ActionResult
GetRegions ( ) : System.Web.Mvc.ActionResult
GetTreeElts ( TreeViewItem node, bool closedToo ) : System.Web.Mvc.ActionResult
GetWoredas ( int selectedZoneId ) : System.Web.Mvc.ActionResult
GetWoredasReport ( int zoneId ) : System.Web.Mvc.ActionResult
GetZones ( int selectedRegionId ) : System.Web.Mvc.ActionResult
GetZonesReport ( int areaId ) : System.Web.Mvc.ActionResult

Private Methods

Méthode Description
AdminUnits ( int id ) : System.Web.Mvc.ActionResult
CountAllocationsUnder ( int adminUnitId ) : int
GetAdminUnitsByParent ( int parentId ) : System.Web.Mvc.ActionResult
GetWoredasByParent ( int regionId, int zoneId ) : System.Web.Mvc.ActionResult
GetZonesByParent ( int regionId ) : System.Web.Mvc.ActionResult

Method Details

AdminUnitController() public méthode

public AdminUnitController ( IAdminUnitService adminUnitService, IUserProfileService userProfileService, IDispatchAllocationService dispatchAllocationService ) : System
adminUnitService IAdminUnitService
userProfileService IUserProfileService
dispatchAllocationService IDispatchAllocationService
Résultat System

GetChildren() public méthode

public GetChildren ( int unitId ) : System.Web.Mvc.ActionResult
unitId int
Résultat System.Web.Mvc.ActionResult

GetChildrenReport() public méthode

public GetChildrenReport ( int unitId ) : System.Web.Mvc.ActionResult
unitId int
Résultat System.Web.Mvc.ActionResult

GetRegions() public méthode

public GetRegions ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

GetTreeElts() public méthode

public GetTreeElts ( TreeViewItem node, bool closedToo ) : System.Web.Mvc.ActionResult
node TreeViewItem
closedToo bool
Résultat System.Web.Mvc.ActionResult

GetWoredas() public méthode

public GetWoredas ( int selectedZoneId ) : System.Web.Mvc.ActionResult
selectedZoneId int
Résultat System.Web.Mvc.ActionResult

GetWoredasReport() public méthode

public GetWoredasReport ( int zoneId ) : System.Web.Mvc.ActionResult
zoneId int
Résultat System.Web.Mvc.ActionResult

GetZones() public méthode

public GetZones ( int selectedRegionId ) : System.Web.Mvc.ActionResult
selectedRegionId int
Résultat System.Web.Mvc.ActionResult

GetZonesReport() public méthode

public GetZonesReport ( int areaId ) : System.Web.Mvc.ActionResult
areaId int
Résultat System.Web.Mvc.ActionResult