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