Exemplo n.º 1
0
 public JsonResult MakeNOKPatient(int id)
 {
     try
     {
         _patient.MakeNOKpatient(id);
         return(Json(new { Result = "OK" }));
     }
     catch (Exception ex)
     {
         return(Json(new { Result = "ERROR", Message = ex.Message }));
     }
 }