public async Task <IActionResult> GetPhoto(int id) { var photoForRepo = await _repo.GetPhoto(id); var photo = _mapper.Map <PhotoForReturnDTO>(photoForRepo); return(Ok(photo)); }