public UnitOfWork() { this.db = new WarehouseDocumetDbContext(); }
public GenericRepository(WarehouseDocumetDbContext db) { this.db = db; this.dbSet = db.Set <TEntity>(); }