Example #1
0
        public async Task <ActionResult <string> > GetUserAlbums(int id)
        {
            var albums = _requester.GetUserAlbums(id);
            var res    = SerializeObject(albums);

            return(res);
        }
Example #2
0
 public async Task <ActionResult <List <Album> > > GetUserAlbums(int id)
 {
     return(_requester.GetUserAlbums(id));
 }