Beispiel #1
0
 public IHttpActionResult GuardarInstructor(Instructor_Tecnica ObjInst)
 {
     try
     {
         TecnicaBl obj   = new TecnicaBl();
         var       Datos = obj.GuardarInstructor2(ObjInst);
         if (Datos)
         {
             return(Ok(new { success = true }));
         }
         else
         {
             return(Ok(new { success = false }));
         }
     }
     catch (Exception exc)
     {
         return(Ok(new { success = false }));
     }
 }