Exemple #1
0
 public CompanyAgentMappingService(IUnitOfWork unitOfWork, IRepository <CompanyAgentMapping> repository,
                                   ICompanyAgentMappingRepository mappingRepository)
 {
     this.unitOfWork        = unitOfWork;
     this.repository        = repository;
     this.mappingRepository = mappingRepository;
 }
 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;
 }