Exemple #1
0
 public JsonResult Get()
 {
     try
     {
         return(Json(db.ListarNutricionistas(), JsonRequestBehavior.AllowGet));
     }
     catch (Exception ex)
     {
         return(Json(ex.Message, JsonRequestBehavior.AllowGet));
     }
 }