public GenericRepository(AW2016DbContext _db) { db = _db; _objectSet = db.Set <T>(); }
public GenericUnitOfWork() { db = new AW2016DbContext(); }