public ActionResult Edit(category cat)
        {
            try
            {
                CategoryDal ct = new CategoryDal();
                ct.UpdateProduct(cat);

                return(RedirectToAction("Index"));
            }
            catch (Exception ex)
            {
                return(View());
            }
        }