Пример #1
0
 public CustomerRepository(CompanyContext context)
 {
     this.context = context;
     mapper       = new CustomerMapper();
 }
Пример #2
0
 public CompanyRepository(CompanyContext companyContext, ICompanyFactory companyFactory)
 {
     this.store          = companyContext;
     this.companyFactory = companyFactory;
     mapper = new CompanyMapper();
 }