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

Inheritance: Cats.Web.Hub.BaseController
ファイルを表示 Open project: edgecomputing/cats

Public Methods

Method 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

Method 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 method

public AdminUnitController ( IAdminUnitService adminUnitService, IUserProfileService userProfileService, IDispatchAllocationService dispatchAllocationService ) : System
adminUnitService IAdminUnitService
userProfileService IUserProfileService
dispatchAllocationService IDispatchAllocationService
return System

GetChildren() public method

public GetChildren ( int unitId ) : System.Web.Mvc.ActionResult
unitId int
return System.Web.Mvc.ActionResult

GetChildrenReport() public method

public GetChildrenReport ( int unitId ) : System.Web.Mvc.ActionResult
unitId int
return System.Web.Mvc.ActionResult

GetRegions() public method

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

GetTreeElts() public method

public GetTreeElts ( TreeViewItem node, bool closedToo ) : System.Web.Mvc.ActionResult
node TreeViewItem
closedToo bool
return System.Web.Mvc.ActionResult

GetWoredas() public method

public GetWoredas ( int selectedZoneId ) : System.Web.Mvc.ActionResult
selectedZoneId int
return System.Web.Mvc.ActionResult

GetWoredasReport() public method

public GetWoredasReport ( int zoneId ) : System.Web.Mvc.ActionResult
zoneId int
return System.Web.Mvc.ActionResult

GetZones() public method

public GetZones ( int selectedRegionId ) : System.Web.Mvc.ActionResult
selectedRegionId int
return System.Web.Mvc.ActionResult

GetZonesReport() public method

public GetZonesReport ( int areaId ) : System.Web.Mvc.ActionResult
areaId int
return System.Web.Mvc.ActionResult