Example #1
0
 public ActionResult Display(FormCollection fc, AlbumViewModel vm)
 {
     if (vm.SelectedAlbumId > 0)
     {
         VM.SetSelectedAlbumId(vm.SelectedAlbumId);
     }
     VM.SetSelectedPhotoIndex(Convert.ToInt32(fc["SelectedPhotoId"]));
     return(View(VM));
 }