Beispiel #1
0
 public IBaseRepository<Purchase> PurchaseRepository()
 {
     if (this._purchaseRepository == null)
     {
         this._purchaseRepository = new BaseRepository<Purchase>(_context);
     }
     return _purchaseRepository;
 }
Beispiel #2
0
 public IBaseRepository<Buyers> BuyersRepository()
 {
     if (this._buyersRepository == null)
     {
         this._buyersRepository = new BaseRepository<Buyers>(_context);
     }
     return _buyersRepository;
 }
Beispiel #3
0
 public IBaseRepository<Products> ProductsRepository()
 {
     if (this._productsRepository == null)
     {
         this._productsRepository = new BaseRepository<Products>(_context);
     }
     return _productsRepository;
 }
Beispiel #4
0
 public IBaseRepository<Vendors> VendorsRepository()
 {
     if (this._vendorsRerository == null)
     {
         this._vendorsRerository = new BaseRepository<Vendors>(_context);
     }
     return _vendorsRerository;
 }