Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public Response <AlbumDto> ShowById(int id)
 {
     return(dal.FindById(id));
 }