Exemplo n.º 1
0
 public AsyncUnitOfWork(bahia_estateContext context)
 {
     this._context   = context;
     Houses          = new AsyncHouseRepository(_context);
     BuildingSites   = new AsyncBuildingSiteRepository(_context);
     PropertyAddress = new AsyncPropertyAddressRepository(_context);
     PropertyPrice   = new AsyncPropertyPriceRepository(_context);
     PropertyPhotos  = new AsyncImagesRepository(_context);
 }
Exemplo n.º 2
0
 public AsyncUnitOfWork(bahia_estateContext context)
 {
     this._context = context;
     Houses        = new AsyncHouseRepository(_context);
     BuildingSites = new AsyncBuildingSiteRepository(_context);
 }