コード例 #1
0
        public ActionResult Detail(int id)
        {
            TvDetailViewModel model = new TvDetailViewModel();

            model.GetAiringToday = _tvApi.GetAiringToday();
            model.GetTvDetails   = _tvApi.GetTvDetails(id);
            return(View(model));
        }
コード例 #2
0
        public TvDTO GetTvDetails(int tvid)
        {
            var tvdetail = _tvApi.GetTvDetails(tvid);

            return(tvdetail);
        }