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