/// <summary>
        /// Retrieve all albums
        /// </summary>
        /// <returns></returns>
        public static List <Album> GetAllAlbums()
        {
            IAlbum       userResource = Resource.GetResource <IAlbum>();
            List <Album> ablums       = userResource.SelectAll();

            return(ablums);
        }
Exemple #2
0
 public Response <IEnumerable <AlbumDto> > Show()
 {
     return(dal.SelectAll());
 }