예제 #1
0
        public async Task <PlaylistDto> GetPlaylistsForCurrentUserAsync()
        {
            var user = await GetCurrentUser();

            return(Mapper.Map <PlaylistDto>(await _playlistRepository.GetFavoritePlaylistByUserIdAsync(user.Id)));
        }