C# 클래스 Cats.Web.Hub.Controllers.AdminUnitController

상속: BaseController
파일 보기 프로젝트 열기: edgecomputing/cats 1 사용 예제들

공개 메소드들

메소드 설명
AdminUnitController ( IAdminUnitService adminUnitService, IUserProfileService userProfileService, IDispatchAllocationService dispatchAllocationService ) : System
CreateWoreda ( int zoneId ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
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

비공개 메소드들

메소드 설명
AdminUnits ( int id ) : System.Web.Mvc.ActionResult
CountAllocationsUnder ( int adminUnitId ) : int
Create ( AdminUnitModel unit ) : System.Web.Mvc.ActionResult
Create ( int typeid ) : System.Web.Mvc.ActionResult
CreateRegion ( ) : System.Web.Mvc.ActionResult
CreateZone ( int regionId ) : System.Web.Mvc.ActionResult
Delete ( int id, AdminUnit unit ) : System.Web.Mvc.ActionResult
Edit ( int id, AdminUnit unit ) : System.Web.Mvc.ActionResult
GetAdminUnitsByParent ( int parentId ) : System.Web.Mvc.ActionResult
GetWoredasByParent ( int regionId, int zoneId ) : System.Web.Mvc.ActionResult
GetZonesByParent ( int regionId ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult

메소드 상세

AdminUnitController() 공개 메소드

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

CreateWoreda() 공개 메소드

public CreateWoreda ( int zoneId ) : System.Web.Mvc.ActionResult
zoneId int
리턴 System.Web.Mvc.ActionResult

Delete() 공개 메소드

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

Edit() 공개 메소드

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
리턴 System.Web.Mvc.ActionResult

GetChildren() 공개 메소드

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

GetChildrenReport() 공개 메소드

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

GetRegions() 공개 메소드

public GetRegions ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

GetTreeElts() 공개 메소드

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

GetWoredas() 공개 메소드

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

GetWoredasReport() 공개 메소드

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

GetZones() 공개 메소드

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

GetZonesReport() 공개 메소드

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