Example #1
0
 /// <summary>
 ///
 /// </summary>
 public ApplyAuditController(IUsersService usersService, ICurrentUserService currentUserService, IUserActionServices userActionServices, IAuditStreamServices auditStreamServices, IGoogleAuthService googleAuthService, ApplicationDbContext context, IApplyVacationService applyService)
 {
     this.usersService        = usersService;
     this.currentUserService  = currentUserService;
     this.userActionServices  = userActionServices;
     this.auditStreamServices = auditStreamServices;
     this.googleAuthService   = googleAuthService;
     this.context             = context;
     this.applyService        = applyService;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="env"></param>
 /// <param name="verifyService"></param>
 /// <param name="vacationCheckServices"></param>
 /// <param name="context"></param>
 /// <param name="applyService"></param>
 /// <param name="currentUserService"></param>
 /// <param name="usersService"></param>
 /// <param name="companiesService"></param>
 /// <param name="httpContext"></param>
 /// <param name="fileServices"></param>
 public StaticController(IWebHostEnvironment env, IVerifyService verifyService, IVacationCheckServices vacationCheckServices, ApplicationDbContext context, IApplyVacationService applyService, ICurrentUserService currentUserService, IUsersService usersService, ICompaniesService companiesService, IHttpContextAccessor httpContext, IFileServices fileServices)
 {
     this.env               = env;
     _verifyService         = verifyService;
     _vacationCheckServices = vacationCheckServices;
     _context               = context;
     _applyService          = applyService;
     _currentUserService    = currentUserService;
     _usersService          = usersService;
     _companiesService      = companiesService;
     _httpContext           = httpContext;
     _fileServices          = fileServices;
 }
 /// <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;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="usersService"></param>
 /// <param name="currentUserService"></param>
 /// <param name="applyService"></param>
 /// <param name="applyInDayService"></param>
 /// <param name="applyServiceCreate"></param>
 /// <param name="vacationCheckServices"></param>
 /// <param name="context"></param>
 /// <param name="companiesService"></param>
 /// <param name="verifyService"></param>
 /// <param name="authService"></param>
 /// <param name="recallOrderServices"></param>
 /// <param name="userActionServices"></param>
 /// <param name="dataDictionariesServices"></param>
 public ApplyController(IUsersService usersService, ICurrentUserService currentUserService, IApplyVacationService applyService, IApplyInDayService applyInDayService, IApplyServiceCreate applyServiceCreate, IVacationCheckServices vacationCheckServices, ApplicationDbContext context, ICompaniesService companiesService, IVerifyService verifyService, IGoogleAuthService authService, IRecallOrderServices recallOrderServices, IUserActionServices userActionServices, IDataDictionariesServices dataDictionariesServices)
 {
     this.usersService             = usersService;
     this.currentUserService       = currentUserService;
     this.applyService             = applyService;
     this.applyInDayService        = applyInDayService;
     this.applyServiceCreate       = applyServiceCreate;
     this.context                  = context;
     this.companiesService         = companiesService;
     this.verifyService            = verifyService;
     this.authService              = authService;
     this.recallOrderServices      = recallOrderServices;
     this.userActionServices       = userActionServices;
     this.dataDictionariesServices = dataDictionariesServices;
 }
 public ApplyClearJob(IApplyVacationService applyService, IUserActionServices userActionServices, IApplyServiceClear applyServiceClear)
 {
     this.applyService       = applyService;
     this.userActionServices = userActionServices;
     this.applyServiceClear  = applyServiceClear;
 }