public async Task <IActionResult> GetPhoto(int id) { var photoFromRepo = await _photosService.GetPhoto(id); var photo = _photosService.MapPhotoForReturn(photoFromRepo); return(Ok(photo)); }