public ActionResult Index(int?masterPlaylistId = null, int?masterTrackId = null) { ClearUrlDictionary(); PlaylistTrackCollectionModel playlistTrackCollectionModel = new PlaylistTrackCollectionModel() { IsSecurityOperations = this.IsSecurityOperations, ControllerAction = "Index", MasterPlaylistId = masterPlaylistId, MasterTrackId = masterTrackId }; try { IsSearch(playlistTrackCollectionModel.OperationResult); } catch (Exception exception) { playlistTrackCollectionModel.OperationResult.ParseException(exception); } return(View(playlistTrackCollectionModel)); }
public ActionResult Search(string masterUrl = null, string masterControllerAction = null, int?masterPlaylistId = null, int?masterTrackId = null) { WriteUrlDictionary(masterUrl); PlaylistTrackCollectionModel playlistTrackCollectionModel = new PlaylistTrackCollectionModel() { IsSecurityOperations = this.IsSecurityOperations, ControllerAction = "Search", MasterControllerAction = masterControllerAction, MasterPlaylistId = masterPlaylistId, MasterTrackId = masterTrackId }; try { IsSearch(playlistTrackCollectionModel.OperationResult); } catch (Exception exception) { playlistTrackCollectionModel.OperationResult.ParseException(exception); } return(PartialView(playlistTrackCollectionModel)); }