public ActionResult CategoryTable(string Search)
        {
            var categories = CatService.GetAllCategories();

            foreach (var item in categories)
            {
                item.Products = productservice.GetAllproductsByCatID(item.ID).ToList();
            }

            if (Search != null)
            {
                categories = categories.Where(p => p.Name != null && p.Name.ToLower().Contains(Search.ToLower())).ToList();
            }
            return(PartialView(categories));
        }
        public ActionResult Speical(int CatId)
        {
            var products = ProdService.GetAllproductsByCatID(CatId);

            return(PartialView(products));
        }