public UserController(
     ISysUserService userService,
     ISysRoleService roleService,
     ISysSystemService systemService,
     IVerificationCode verificationCode,
     IHostingEnvironment hostingEnvironment)
 {
     _userService            = userService;
     _roleService            = roleService;
     _systemService          = systemService;
     _verificationCode       = verificationCode;
     this.hostingEnvironment = hostingEnvironment;
 }
Beispiel #2
0
 public UserController(
     ISysUserService userService,
     ISysRoleService roleService,
     ISysSystemService systemService,
     IVerificationCode verificationCode,
     IScanningLoginService scanningLoginService,
     IServiceProvider serviceProvider,
     IHostingEnvironment hostingEnvironment)
 {
     _hubContext                = serviceProvider.GetService <IHubContext <ScanningLoginHub> >();
     _userService               = userService;
     _roleService               = roleService;
     _systemService             = systemService;
     _verificationCode          = verificationCode;
     this._scanningLoginService = scanningLoginService;
     this.hostingEnvironment    = hostingEnvironment;
 }
Beispiel #3
0
 public SystemController(ISysSystemService systemService)
 {
     _systemService = systemService;
 }