public ActionResult Index() { ClearUrlDictionary(); GenreCollectionModel genreCollectionModel = new GenreCollectionModel() { IsSecurityOperations = this.IsSecurityOperations, ControllerAction = "Index" }; try { IsSearch(genreCollectionModel.OperationResult); } catch (Exception exception) { genreCollectionModel.OperationResult.ParseException(exception); } return(View(genreCollectionModel)); }
public ActionResult Search(string masterUrl = null, string masterControllerAction = null) { WriteUrlDictionary(masterUrl); GenreCollectionModel genreCollectionModel = new GenreCollectionModel() { IsSecurityOperations = this.IsSecurityOperations, ControllerAction = "Search", MasterControllerAction = masterControllerAction }; try { IsSearch(genreCollectionModel.OperationResult); } catch (Exception exception) { genreCollectionModel.OperationResult.ParseException(exception); } return(PartialView(genreCollectionModel)); }