Пример #1
0
 public IHttpActionResult ConsultarProgramas()
 {
     try
     {
         TecnicaBl obj   = new TecnicaBl();
         var       Datos = obj.ConsultarProgramas();
         return(Ok(new { success = true, datos = Datos }));
     } catch (Exception exc)
     {
         return(Ok(new { success = false, exc = exc.Message }));
     }
 }