public GenericRepository(FDBContext _db) { this._db = _db; _table = _db.Set <T>(); }
public GenericRepository() { _db = new FDBContext(); _table = _db.Set <T>(); }