예제 #1
0
 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;
 }
예제 #2
0
 public LitigationRepository(LitigationPlannerDBContext dbContext, IMapper mapper)
 {
     this.dbContext = dbContext;
     this.mapper    = mapper;
 }