public ActionResult Details(AlbumViewModel model) { var album = AlbumRepository.FindById(model.Id); model.MapPhoto(album); return(View(model)); }