public ActionResult CreateFromWVR(CreateFromWVR model, bool commit) { if (commit) { var listId = rankingService.CreateSongListFromWVR(model.Url, model.ParseAll); return(RedirectToAction("Details", "SongList", new { id = listId })); } WVRListResult parseResult; try { parseResult = rankingService.ParseWVRList(model.Url, model.ParseAll); } catch (InvalidFeedException) { ModelState.AddModelError("Url", "Check that the URL is valid and points to a NicoNico MyList or RSS feed."); return(View(model)); } model.ListResult = parseResult; if (parseResult.IsIncomplete) { ModelState.AddModelError("ListResult", "Some of the songs are missing from VocaDB. You need to add all songs to the database before creating the list."); } return(View(model)); }