public List <Album> SearchAlbums(string genre, string albumName) { try { return(SearchEngine.SearchAlbumsByGenre(genre, genres, SearchEngine.SearchAlbumsByName(albumName, data))); } catch (KeyNotFoundException) { throw new KeyNotFoundException(); } }
public List <Album> SearchAlbums(int year, string albumName) { return(SearchEngine.SearchAlbumsByName(albumName, SearchEngine.SearchAlbumsByYear(year, data))); }
public List <Album> SearchAlbums(string name) { return(SearchEngine.SearchAlbumsByName(name, data)); }