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(); }
public UserController() { _userService = new UserService(); _apiModuleService = new ApiModuleService(); _powerService = new PowerService(); }