Exemplo n.º 1
0
        public ActionResult GetAllChildcategories()
        {
            ChildCategory objchild = new ChildCategory();
            var           result   = objchild.GetAllChild();

            return(PartialView("_ManageChildCategories", result));
        }
Exemplo n.º 2
0
        public ActionResult DeleteChildCategory(int id)
        {
            ChildCategory objchild = new ChildCategory();

            objchild.DeleteSubCategory(id);
            var result = objchild.GetAllChild();

            return(PartialView("_ManageChildCategories", result));
        }