@Override
 public List<Album> findMatchedAlbumByCriteria(String title, String year) {
   Album album = new Album();
   album.setTitle(title);
   album.setYear(year);
   return albumDao.findByCriteria(album);
 }
  @Override
  public void saveAlbum(int artistId, Album album) {
    Artist artist = new Artist();
    artist.setId(artistId);

    album.setArtist(artist);
    albumDao.insert(album);
  }