//public ActionResult Index() //{ // return View(); //} public JsonResult ListAll() { try { return(Json(provDB.ListAll(), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { Message = ex.Message }, JsonRequestBehavior.AllowGet)); } }