public UserActionServices(IHttpContextAccessor httpContextAccessor, ApplicationDbContext context, IUserServiceDetail userServiceDetail, IUsersService usersService) { _httpContextAccessor = httpContextAccessor; _context = context; this.userServiceDetail = userServiceDetail; this.usersService = usersService; }
/// <summary> /// 单位信息 /// </summary> /// <param name="companiesService"></param> /// <param name="currentUserService"></param> /// <param name="companyManagerServices"></param> /// <param name="usersService"></param> /// <param name="context"></param> public CompanyController(ICompaniesService companiesService, ICurrentUserService currentUserService, ICompanyManagerServices companyManagerServices, IUserServiceDetail usersService, ApplicationDbContext context) { _companiesService = companiesService; _currentUserService = currentUserService; _companyManagerServices = companyManagerServices; _usersService = usersService; _context = context; }
/// <summary> /// 用户管理 /// </summary> /// <param name="env"></param> /// <param name="usersService"></param> /// <param name="currentUserService"></param> /// <param name="userServiceDetail"></param> /// <param name="companiesService"></param> /// <param name="applyService"></param> /// <param name="authService"></param> /// <param name="companyManagerServices"></param> /// <param name="userActionServices"></param> /// <param name="context"></param> public UsersController(IWebHostEnvironment env, IUsersService usersService, ICurrentUserService currentUserService, IUserServiceDetail userServiceDetail, ICompaniesService companiesService, IApplyVacationService applyService, IGoogleAuthService authService, ICompanyManagerServices companyManagerServices, IUserActionServices userActionServices, ApplicationDbContext context) { this.env = env; this.usersService = usersService; this.currentUserService = currentUserService; this.userServiceDetail = userServiceDetail; this.companiesService = companiesService; this.applyService = applyService; this.authService = authService; this.companyManagerServices = companyManagerServices; this.userActionServices = userActionServices; this.context = context; }