public Repository(DbTaskOne context) { Context = context; }
public PropertyRepository(DbTaskOne context) : base(context) { }
public OwnerRepository(DbTaskOne context) : base(context) { }
public UnitOfWork(DbTaskOne context) { _context = context; Owners = new OwnerRepository(_context); Properties = new PropertyRepository(_context); }