public async Task <IActionResult> GetPhoto(int photoId) { var photo = await petsRepository.GetPhoto(photoId); var photoDTO = mapper.Map <PhotoDTO>(photo); return(Ok(photoDTO)); }