Beispiel #1
0
 public JsonResult Create(PERSONA Persona)
 {
     //if (ModelState.IsValid)
     //{
     try
     {
         return((PersonaLogic.Create(Persona)) ? Json(new { success = true }) : Json(new { success = false }));
     }
     catch (Exception)
     {
         return(Json(new { success = false }));
     }
     //}
 }