Exemple #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);
 }
Exemple #2
0
 public AsyncUnitOfWork(bahia_estateContext context)
 {
     this._context = context;
     Houses        = new AsyncHouseRepository(_context);
     BuildingSites = new AsyncBuildingSiteRepository(_context);
 }