Пример #1
0
 public IHttpActionResult verHistorialContratos(ParametrosDTO objP)
 {
     try
     {
         VirtualidadBl obj   = new VirtualidadBl();
         var           Datos = obj.verHistorialContratos(objP.Parametro1, objP.Parametro2);
         return(Ok(new { success = true, Datos }));
     }
     catch (Exception exc)
     {
         return(Ok(new { success = false, exc = exc.Message }));
     }
 }