public async Task <IActionResult> Video()
        {
            var videoUrl = await _videoBLL.GetVideoUrlAsync();

            ViewBag.VideoUrl = videoUrl;

            return(View());
        }
Example #2
0
        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());
        }