public ActionResult Print() { var model = new SeasonEditEpisodeModel { Story = new CharsEpisode(), ReadingBlock = "a" }; return(View("Episode", model)); }
public ActionResult Episode( String seasonID, String episodeID, String blockID, AuthorMode?show ) { SeasonEditEpisodeModel model; try { model = new SeasonEditEpisodeModel( seasonID, episodeID, blockID, show ); } catch (Exception e) { if (UrlUserType.IsAuthor()) { throw; } return(View("Error", new ErrorModel { Error = e })); } if (model.Story == null) { return(Redirect("/")); } model.GetSuggestionLists(); if (UrlUserType.IsAuthor()) { model.Fix(); model.TabIndex = 1; return(View("Author/Episode", model)); } return(View(model)); }
public Adder() { Model = new SeasonEditEpisodeModel(); }