public IEnumerable <T> GetAll() { return(_dataContext.Set <T>().AsQueryable()); }
public RepositoryBase(CommentDbContext dataContext) { _dataContext = dataContext; dbSet = _dataContext.Set <T>(); }
public IEnumerable <T> GetAll() { return(_dataContext.Set <T>().AsQueryable()); }
public RepositoryBase(CommentDbContext dataContext) { _dataContext = dataContext; dbSet = _dataContext.Set <T>(); }