private IResponseMessage GetPlaylist(IRequest request)
        {
            GetPlaylistRequest getPlaylistRequest = new GetPlaylistRequest()
            {
                PlaylistUri = request.PlaylistUri,
                Token       = request.Token,
                RequestType = RequestType.GET_PLAYLIST
            };

            return(apiProcess.RunCommand <GetPlaylistRequest>(getPlaylistRequest));
        }
        public IResponseMessage Process(IRequest request)
        {
            GetPlaylistRequest concreteRequest = request as GetPlaylistRequest;

            spotifyWebApi.TokenType   = concreteRequest.Token.TokenType;
            spotifyWebApi.AccessToken = concreteRequest.Token.AccessToken;

            FullPlaylist retVal = spotifyWebApi.GetPlaylist(concreteRequest.PlaylistUri);

            GetPlaylistResponseMessage responseMessage = Mapper.Map <FullPlaylist, GetPlaylistResponseMessage>(retVal);

            return(responseMessage);
        }