public UnitOfWork() { context = new BloodBankContext(); }
public AllRepository(BloodBankContext _context) { context = _context; this._DbSet = _context.Set <T>(); }
public UnitOfWork() { context = new BloodBankContext(); }
public AllRepository(BloodBankContext _context) { context = _context; this._DbSet = _context.Set <T>(); }