public async Task <IActionResult> Video() { var videoUrl = await _videoBLL.GetVideoUrlAsync(); ViewBag.VideoUrl = videoUrl; return(View()); }
public async Task <IActionResult> Index() { var(isSuccessed, ErrorMsg, Data) = await _categoryBLL.GetCategorysAsync(); var video = await _videoBLL.GetVideoUrlAsync(); ViewBag.Categorys = Data; ViewBag.VideoUrl = video; return(View()); }