Example #1
0
 public IHttpActionResult gestionFicha(ParametrosDTO objP)
 {
     try
     {
         VirtualidadBl obj   = new VirtualidadBl();
         var           Datos = obj.gestionFicha(int.Parse(objP.Parametro1));
         return(Ok(new { success = true, Datos }));
     }
     catch (Exception exc)
     {
         return(Ok(new { success = false, exc = exc.Message }));
     }
 }