public virtual IQueryable <ListItemDto> GetList() { return(_context.Set <T>().Select(brand => new ListItemDto { Id = brand.Id, Name = brand.Name })); }