public ActionResult EditPhoto(int id) { TempData["useralbumphoto_id"] = id; PhotoViewModel model = new PhotoViewModel(); model = photorepo.PhotoDetailAdmin(id); return(View(model)); }