예제 #1
0
        private bool ValidateReleased(SongDto song)
        {
            AlbumDto album     = dalAlb.FindById(song.AlbumId).Data;
            int      albumYear = album.Released;
            int      songYear  = song.Released;

            return(songYear <= albumYear);
        }
예제 #2
0
 public Response <AlbumDto> ShowById(int id)
 {
     return(dal.FindById(id));
 }