public virtual IEnumerable <T> GetAll() { return(_context.Set <T>().AsEnumerable()); }
public Repository(LustContext context) { Db = context; DbSet = Db.Set <TEntity>(); }