Exemple #1
0
 public IHttpActionResult ConsultarInstructores()
 {
     try
     {
         VirtualidadBl obj   = new VirtualidadBl();
         var           Datos = obj.ConsultarInstructores();
         return(Ok(new { success = true, datos = Datos }));
     }
     catch (Exception exc)
     {
         return(Ok(new { success = false, exc = exc.Message }));
     }
 }