public UnitOfWork(HarvDbContext context) { _context = context; AccountRepository = new AccountRepository(context); CustomerRepository = new CustomerRepository(context); AccountInitCreditRepository = new AccountInitCreditRepository(context); }
public AccountRepository(HarvDbContext context) { _context = context; }
public CustomerRepository(HarvDbContext context) { _context = context; }
public AccountInitCreditRepository(HarvDbContext context) { _context = context; }