public LitigationPlannerUnitOfWork(LitigationPlannerDBContext dbContext, ICompanyRepository companyRepository, IContactRepository contactRepository, ILitigationRepository litigationRepository, ILocationRepository locationRepository, IProcessTypeRepository processTypeRepository, IApplicationUserRepository applicationUserRepository, IRoleRepository roleRepository) { this.dbContext = dbContext; this.CompanyRepository = companyRepository; this.ContactRepository = contactRepository; this.LitigationRepository = litigationRepository; this.LocationRepository = locationRepository; this.ProcessTypeRepository = processTypeRepository; this.ApplicationUserRepository = applicationUserRepository; this.RoleRepository = roleRepository; }
public LitigationRepository(LitigationPlannerDBContext dbContext, IMapper mapper) { this.dbContext = dbContext; this.mapper = mapper; }