public Video GetVideoInfo(long id)
        {
            if (videoCache == null || needReset)
            {
                videoCache = _service.GetVideoInfo(id);
            }

            return(videoCache);
        }
Пример #2
0
 public void RenderVideoPage(long id)
 {
     var info = _service.GetVideoInfo(id);
     // 渲染视频页面。
 }