public UnitOfWork(HumanResourceContext db) { this.db = db; this.People = new PersonRepository(db); this.PhoneNumbers = new PhoneNumberRepository(db); }
public PhoneNumberRepository(HumanResourceContext db) { this.db = db; }
public PersonRepository(HumanResourceContext db) { this.db = db; }