예제 #1
0
 public Handler(
     IDemandService demandService,
     IRegistrationRepository registrationRepository,
     INotificationService notificationService,
     IUnitOfWorkFactory <IRepository <RegistrationParticipant> > hasDemandUpdateUnitOfWork,
     IUnitOfWorkFactory <INotificationService> notificationUnitOfWork,
     IOptionsMonitor <EnvironmentOptions> environmentOptions)
 {
     _demandService             = demandService;
     _registrationRepository    = registrationRepository;
     _notificationService       = notificationService;
     _hasDemandUpdateUnitOfWork = hasDemandUpdateUnitOfWork;
     _notificationUnitOfWork    = notificationUnitOfWork;
     _environmentOptions        = environmentOptions;
 }
예제 #2
0
 public ReportController(IUnitOfWork unitOfWork,
                         IDemandService demandService,
                         ICompanyAgentMappingService companyAgentMappingService,
                         IApplicationUserService applicationUserService,
                         IReportService reportService,
                         IHostingEnvironment hostingEnvironment,
                         UserManager <CustomIdentityUser> userManager
                         )
 {
     this.unitOfWork    = unitOfWork;
     this.demandService = demandService;
     this.companyAgentMappingService = companyAgentMappingService;
     this.applicationUserService     = applicationUserService;
     this.reportService      = reportService;
     this.hostingEnvironment = hostingEnvironment;
     this.userManager        = userManager;
 }
예제 #3
0
 public UserController(SignInManager <CustomIdentityUser> signInManager,
                       UserManager <CustomIdentityUser> userManager,
                       RoleManager <IdentityRole> roleManager,
                       IUnitOfWork unitOfWork,
                       IApplicationUserService applicationUserService,
                       ICompanyService companyService,
                       ICompanyAgentMappingService companyAgentMappingService,
                       IDemandService demandService)
 {
     this.signInManager              = signInManager;
     this.userManager                = userManager;
     this.roleManager                = roleManager;
     this.unitOfWork                 = unitOfWork;
     this.applicationUserService     = applicationUserService;
     this.companyService             = companyService;
     this.companyAgentMappingService = companyAgentMappingService;
     this.demandService              = demandService;
 }
예제 #4
0
 public DemandController(IUnitOfWork unitOfWork,
                         IDemandService demandService,
                         SignInManager <CustomIdentityUser> signInManager,
                         UserManager <CustomIdentityUser> userManager,
                         IOrderOfUrgencyService urgencyService,
                         IApplicationUserService applicationUserService,
                         IHttpContextAccessor httpContextAccessor,
                         ICompanyUserService companyUserService,
                         ICompanyAgentMappingService companyAgentMappingService,
                         ICompanyService companyService)
 {
     this.signInManager              = signInManager;
     this.userManager                = userManager;
     this.unitOfWork                 = unitOfWork;
     this.demandService              = demandService;
     this.urgencyService             = urgencyService;
     this.applicationUserService     = applicationUserService;
     this.httpContextAccessor        = httpContextAccessor;
     this.companyUserService         = companyUserService;
     this.companyAgentMappingService = companyAgentMappingService;
     this.companyService             = companyService;
 }
예제 #5
0
 public RegistrationController(
     IUnitOfWork unitOfWork,
     IDemandService demandService,
     IRegistrationRepository registrationRepository,
     ICourseCreationService courseCreationService,
     ISerializationService serializationService,
     IMapper mapper,
     ICollectionMapper <RegistrationParticipantDto, RegistrationParticipant> collectionMapper,
     ICollectionMapper <CommitRegistrationParticipantDto, RegistrationParticipant> commitCollectionMapper,
     IOptions <GroupCourseOptionsCollection> groupCourseOptions,
     IQueue queue)
 {
     _unitOfWork             = unitOfWork;
     _demandService          = demandService;
     _registrationRepository = registrationRepository;
     _courseCreationService  = courseCreationService;
     _serializationService   = serializationService;
     _mapper                 = mapper;
     _collectionMapper       = collectionMapper;
     _commitCollectionMapper = commitCollectionMapper;
     _groupCourseOptions     = groupCourseOptions;
     _queue = queue;
 }
예제 #6
0
 public SystemController(ISystemService systemService, IMsgService msgService,
                         INoticeService noticeService, IUsersService usersService, IDemandService demandService,
                         IProductService productService, IQuestionService questionService)
 {
     _SystemService   = systemService;
     _MsgService      = msgService;
     _NoticeService   = noticeService;
     _UsersService    = usersService;
     _DemandService   = demandService;
     _ProductService  = productService;
     _QuestionService = questionService;
 }
예제 #7
0
 public DemandsController(IDemandService _demandService)
 {
     this.demandService = _demandService;
 }
예제 #8
0
 public DemandController(IDemandService demandService)
 {
     _demandService = demandService;
 }
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="demandService"></param>
 /// <param name="mapper"></param>
 /// <param name="aspNetUser">当前登陆用户</param>
 public DemandController(IDemandService demandService, IMapper mapper, IAspNetUser aspNetUser)
 {
     this._demandService = demandService;
     this._mapper        = mapper;
     this.aspNetUser     = aspNetUser;
 }
 public CreateCourseDemandCommandHandler(IDemandService service)
 {
     _service = service;
 }
예제 #11
0
 public DemandController(IDemandService service)
 {
     _service = service;
 }
 public DemandsController(IDemandService demandService, IMapper mapper, IBillService <Demand> billOperation)
 {
     this.demandService = demandService;
     this.mapper        = mapper;
     this.billOperation = billOperation;
 }
 public GetProviderEmployerDemandQueryHandler(IDemandService demandService)
 {
     _demandService = demandService;
 }
예제 #14
0
 public DemandController(IDemandService demandService, IWebHostEnvironment webHostEnvironment, IOptions <FileUploadSettings> fileUploadSettings)
 {
     _demandService      = demandService;
     _webHostEnvironment = webHostEnvironment;
     _fileUploadSettings = fileUploadSettings.Value;
 }
 public GetCachedCreateCourseDemandQueryHandler(IDemandService demandService)
 {
     _demandService = demandService;
 }
예제 #16
0
 public DemandController(IDemandService demand)
 {
     _demand = demand;
 }
예제 #17
0
 public DemandsController(IDemandService _service)
 {
     service = _service;
 }
 public CreateCachedCourseDemandCommandHandler(IDemandService service, IValidator <CreateCachedCourseDemandCommand> validator)
 {
     _service   = service;
     _validator = validator;
 }
 public DemandController(IDemandService demandService, IMapper mapper)
 {
     _demandService = demandService;
     _mapper        = mapper;
 }
예제 #20
0
 public DemandDTController(IDemandService demandService)
 {
     DemandService = demandService;
 }