public ActionResult Edit(Album model) { if (!ModelState.IsValid) { return(View(model)); } var album = _albumService.Edit(model); return(RedirectToRoute("AlbumDetails", new { id = album.Id })); }