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;
 }
Example #3
0
 public AdminController(IJWTAuth auth, IUserInfoDataService userInfoDataService, IUserAuthorizationDataService userAuthorizationDataService, IDepartmentDataService departmentDataService) : base(auth)
 {
     this.userInfoDataService          = userInfoDataService;
     this.userAuthorizationDataService = userAuthorizationDataService;
     this.departmentDataService        = departmentDataService;
 }
Example #4
0
 public BaseController(IJWTAuth auth)
 {
     this._auth = auth;
 }
Example #5
0
 public BaseController(IJWTAuth auth)
 {
     this._auth = auth;
     //ViewBag.auth = _auth;
 }
Example #6
0
 public DepartmentController(IJWTAuth auth, IDepartmentDataService dataService, IUserInfoDataService userInfoDataService) : base(auth)
 {
     this.dataService         = dataService;
     this.userInfoDataService = userInfoDataService;
 }
Example #7
0
 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;
 }
Example #9
0
 public AdminController(IJWTAuth auth) : base(auth)
 {
 }
Example #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;
 }
Example #12
0
 public DepartmentController(IJWTAuth auth, IDepartmentDataService dataService) : base(auth)
 {
     this.dataService = dataService;
 }
Example #13
0
 public AuthenticateController(IUserService userService, IJWTAuth jwtAuth)
 {
     _userService = userService;
     _jwtAuth     = jwtAuth;
 }