public ActionResult Details(int id)
        {
            ViewBag.listofFood = frepo.getFoodList();
            var data = frepo.getbyId(id);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }