public GenericRepository() { _db = new RposEntities(); _aTable = _db.Set <T>(); }
public GenericRepository(RposEntities db) { _db = db; _aTable = _db.Set <T>(); }