public ActionResult Detail(int id) { TvDetailViewModel model = new TvDetailViewModel(); model.GetAiringToday = _tvApi.GetAiringToday(); model.GetTvDetails = _tvApi.GetTvDetails(id); return(View(model)); }
public TvDTO GetTvDetails(int tvid) { var tvdetail = _tvApi.GetTvDetails(tvid); return(tvdetail); }