public UserVm GetById(int id) { var item = _context.Users.Include(x => x.Pets) .SingleOrDefault(x => x.Id == id); return(_mapper.MapToModel(item)); }