public Shelvesdto Getshelvess(Guid id)
 {
     return(ShelveRepo.GetShelves()
            .Where(p => p.Id == id)
            .Select(p => new Shelvesdto(p.Id, p.Title))
            .FirstOrDefault());
 }
 public List <Shelvesdto> Getshelvess()
 {
     return(ShelveRepo.GetShelves()
            .Select(p => new Shelvesdto(
                        p.Id,
                        p.Title
                        ))
            .ToList());
 }