Пример #1
0
 public PowerController()
 {
     _powerService    = new PowerService();
     _requirement     = new PermissionRequirement();
     _currUserAccount = _requirement.CurrUserAccount;
     //_currUserRole = _requirement.CurrUserRole;
     _currUserIp       = _requirement.CurrUserIp;
     _userService      = new UserService();
     _apiModuleService = new ApiModuleService();
     _moduleService    = new ModuleService();
 }
 public ApiModuleController()
 {
     _apiModuleService = new ApiModuleService();
     _moduleService    = new ModuleService();
 }
Пример #3
0
 public UserController()
 {
     _userService      = new UserService();
     _apiModuleService = new ApiModuleService();
     _powerService     = new PowerService();
 }