public IActionResult InsertSubCategory(SubCategoryVM subCategoryVM)
        {
            User        currentAdmin = HttpContext.Session.Get <User>("currentUser");
            SubCategory subCategory  = new SubCategory();

            if (ModelState.IsValid)
            {
                subCategory.CategoryName = subCategoryVM.SubCategoryName;
                subCategory.Description  = subCategoryVM.Overview;
                subCategory.CategoryID   = subCategoryVM.CatID;
                if (subCategory != null)
                {
                    try
                    {
                        subCategoryBLL.Add(subCategory);
                        this._logger.LogInformation($"AdminID : {currentAdmin.ID} is inserted the SubCategoryID : {subCategory.ID}.");
                    }
                    catch (Exception)
                    {
                        throw;
                    }
                }
            }
            return(View("Index"));
        }