public ReportService(IUnitOfWork unitOfWork,
                      IMapper mapper,
                      IDemandRepository demandRepository,
                      IApplicationUserRepository applicationUserRepository,
                      ICompanyAgentMappingRepository companyAgentMappingRepository,
                      IApplicationUserService applicationUserService,
                      IOrderOfUrgencyService orderOfUrgencyService,
                      ICompanyService companyService)
 {
     this.unitOfWork                    = unitOfWork;
     this.mapper                        = mapper;
     this.demandRepository              = demandRepository;
     this.applicationUserRepository     = applicationUserRepository;
     this.companyAgentMappingRepository = companyAgentMappingRepository;
     this.applicationUserService        = applicationUserService;
     this.orderOfUrgencyService         = orderOfUrgencyService;
     this.companyService                = companyService;
 }
Exemple #2
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;
 }