public JsonResult Update(Model.EF.ProductCategory productCategory)
        {
            Model.DAL.ProductCategory category = new ProductCategory();

            category.Update(productCategory);
            return(Json(JsonConvert.SerializeObject(category)));
        }
        public ActionResult GetAllCategory()
        {
            ProductCategory category = new ProductCategory();
            IQueryable <IGrouping <bool, Model.EF.ProductCategory> > categories = category.GetAllCategories();

            //Response.End();
            return(View("GetAllCategory", categories));
        }