Ejemplo n.º 1
0
        public Video GetVideo(int id)
        {
            var adapterSettings = GetAdapterSettings();

            if (adapterSettings.OAuthAccessToken == null)
            {
                throw new AuthorizationException();
            }

            return(VideoAdapter.GetItem(id, adapterSettings.OAuthAccessToken));
        }