Пример #1
0
        /// <summary>
        /// Retrieve all albums
        /// </summary>
        /// <returns></returns>
        public static List <Album> GetAllAlbums()
        {
            IAlbum       userResource = Resource.GetResource <IAlbum>();
            List <Album> ablums       = userResource.SelectAll();

            return(ablums);
        }
Пример #2
0
 public Response <IEnumerable <AlbumDto> > Show()
 {
     return(dal.SelectAll());
 }