コード例 #1
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;
 }
コード例 #2
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;
 }
コード例 #3
0
 public CompanyUserController(SignInManager <CustomIdentityUser> signInManager,
                              UserManager <CustomIdentityUser> userManager,
                              IUnitOfWork unitOfWork,
                              ICompanyUserService companyUserService,
                              ICompanyService companyService,
                              IHttpContextAccessor httpContextAccessor,
                              ICompanyUserRoleMappingService companyUserRoleMappingService,
                              IApplicationUserService applicationUserService,
                              ICompanyAgentMappingService companyAgentMappingService)
 {
     this.signInManager                 = signInManager;
     this.userManager                   = userManager;
     this.unitOfWork                    = unitOfWork;
     this.companyUserService            = companyUserService;
     this.companyService                = companyService;
     this.httpContextAccessor           = httpContextAccessor;
     this.companyUserRoleMappingService = companyUserRoleMappingService;
     this.applicationUserService        = applicationUserService;
     this.companyAgentMappingService    = companyAgentMappingService;
 }
コード例 #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;
 }