Beispiel #1
0
 public IHttpActionResult GuardarAprendizEdit(Aprendices_Tecnica objA)
 {
     try
     {
         TecnicaBl obj   = new TecnicaBl();
         var       datos = obj.GuardarAprendizEdit(objA);
         if (datos)
         {
             return(Ok(new { success = true }));
         }
         else
         {
             return(Ok(new { success = false }));
         }
     }
     catch (Exception exc)
     {
         return(Ok(new { success = false, exc = exc.Message }));
     }
 }