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 LitigationDomainService(ILitigationRepository litigationRepository) : base(litigationRepository) => _litigationRepository = litigationRepository;