public UserController( ISysUserService userService, ISysRoleService roleService, ISysSystemService systemService, IVerificationCode verificationCode, IHostingEnvironment hostingEnvironment) { _userService = userService; _roleService = roleService; _systemService = systemService; _verificationCode = verificationCode; this.hostingEnvironment = hostingEnvironment; }
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; }
public SystemController(ISysSystemService systemService) { _systemService = systemService; }