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