public AuthorizationController(IJWTAuth iJWTAuth, IDepartmentDataService departmentDataService, IFunctionPowerDataService powerDataService, IRoleDataService roleDataService, IAppInfoDataService appInfoDataService) : base(iJWTAuth)
 {
     this.departmentDataService = departmentDataService;
     this.powerDataService      = powerDataService;
     this.roleDataService       = roleDataService;
     this.appInfoDataService    = appInfoDataService;
 }
 public AccountController(IMediator mediator, IJWTAuth jwtAuth, JewelleryContext jewelleryContext, IOptions <AppSettings> appSettings)
 {
     _mediator         = mediator;
     _jwtAuth          = jwtAuth;
     _jewelleryContext = jewelleryContext;
     _appSettings      = appSettings.Value;
 }
Beispiel #3
0
 public AdminController(IJWTAuth auth, IUserInfoDataService userInfoDataService, IUserAuthorizationDataService userAuthorizationDataService, IDepartmentDataService departmentDataService) : base(auth)
 {
     this.userInfoDataService          = userInfoDataService;
     this.userAuthorizationDataService = userAuthorizationDataService;
     this.departmentDataService        = departmentDataService;
 }
 public BaseController(IJWTAuth auth)
 {
     this._auth = auth;
 }
Beispiel #5
0
 public BaseController(IJWTAuth auth)
 {
     this._auth = auth;
     //ViewBag.auth = _auth;
 }
Beispiel #6
0
 public DepartmentController(IJWTAuth auth, IDepartmentDataService dataService, IUserInfoDataService userInfoDataService) : base(auth)
 {
     this.dataService         = dataService;
     this.userInfoDataService = userInfoDataService;
 }
 public UserController(IJWTAuth auth, IUserInfoDataService userInfoDataService, IUserAuthorizationDataService authorizationDataService) : base(auth)
 {
     this.userInfoDataService      = userInfoDataService;
     this.authorizationDataService = authorizationDataService;
 }
 public FunctionPowerController(IJWTAuth auth, IFunctionPowerDataService functionPowerDataService, IAppInfoDataService appInfoDataService) : base(auth)
 {
     this.functionPowerDataService = functionPowerDataService;
     this.appInfoDataService       = appInfoDataService;
 }
Beispiel #9
0
 public AdminController(IJWTAuth auth) : base(auth)
 {
 }
Beispiel #10
0
 public RoleController(IJWTAuth auth, IRoleDataService roleDataService, IDepartmentDataService departmentDataService) : base(auth)
 {
     this.roleDataService       = roleDataService;
     this.departmentDataService = departmentDataService;
 }
 public UserRoleController(IJWTAuth iJWTAuth, IUserInfoDataService userInfoDataService, IUserAuthorizationDataService userAuthorizationDataService, IUserPowerDataService userPowerDataService) : base(iJWTAuth)
 {
     this.userInfoDataService          = userInfoDataService;
     this.userAuthorizationDataService = userAuthorizationDataService;
     this.userPowerDataService         = userPowerDataService;
 }
Beispiel #12
0
 public DepartmentController(IJWTAuth auth, IDepartmentDataService dataService) : base(auth)
 {
     this.dataService = dataService;
 }
Beispiel #13
0
 public AuthenticateController(IUserService userService, IJWTAuth jwtAuth)
 {
     _userService = userService;
     _jwtAuth     = jwtAuth;
 }