public JsonResult RemoveProd(string name,string cati)
 {
     string done = "done";
     ProductModel meal = new ProductModel();
     meal.removeProduct(name, cati);
     return Json(done);
 }
        public ActionResult FileUpload(ProductsTable model,HttpPostedFileBase file)
        {         
            if (file!= null && file.ContentLength > 0)
            {
                var fileName = Path.GetFileName(file.FileName);
                var path = Path.Combine(Server.MapPath("~/Areas/cafeBlue/Images/"), fileName);
                file.SaveAs(path);
            }
          
            if(file != null)
                model.ProductImage = System.IO.Path.GetFileName(file.FileName);

            ProductModel pmodel = new ProductModel();
            pmodel.newProduct(model);

            return RedirectToAction("Index",model.ProductCatigory);
        }
        //
        // GET: /cafeBlue/HotBeverage/

        public ActionResult Index()
        {
            ProductModel model = new ProductModel();
            return View(model.getProduct("hot"));
        }