public async Task <IActionResult> Create(string id_CTDT)
        {
            //Lấy danh sách môn học để show thành list
            var requestMonHoc = new MonHocManagePagingRequest()
            {
                PageIndex = 1,
                PageSize  = 1000
            };
            var monHocs = await _monHocApiClient.GetAllPaging(requestMonHoc);

            ViewBag.monHocs = monHocs.Items;

            //Lấy danh sách học kỳ để show thành list
            var requestHocKy = new HocKyNamHocManagePagingRequest()
            {
                PageIndex = 1,
                PageSize  = 1000
            };

            var hocKys = await _hocKyNamHocApiClient.GetAllPaging(requestHocKy);

            ViewBag.hocKys = hocKys.Items;

            return(View());
        }
        public async Task <IActionResult> Index(string keyword, int pageIndex = 1, int pageSize = 9)
        {
            var request = new HocKyNamHocManagePagingRequest()
            {
                Keyword   = keyword,
                PageIndex = pageIndex,
                PageSize  = pageSize
            };
            var data = await _hocKyNamHocApiClient.GetAllPaging(request);

            ViewBag.Keyword = keyword;

            if (TempData["result"] != null)
            {
                ViewBag.SuccessMessage = TempData["result"];
            }

            return(View(data));
        }