// TODO: move to mapper private Photo Map(Domain.Photo photo) => photo == null ? null : new Photo { Id = photo.Id, Name = photo.Name, ThumbnailLocation = $"/api/photo/{photo.Id}/thumbnail" };
// TODO: move to mapper private PhotoDetailed MapToDetailed(Domain.Photo photo) => photo == null ? null : new PhotoDetailed { Id = photo.Id, Name = photo.Name, OriginalLocation = $"/api/photo/{photo.Id}/original", ProcessingAnalysisResult = Convert(photo.VisionAnalysis) };