public ActionResult CreateAlbum(CreateAlbumViewModel album) { if (!ModelState.IsValid) { return(View()); } if (GalleryService.CreateAlbum(album.ToEntity())) { return(RedirectToAction("Index", "Gallery")); } return(View()); }