Example #1
0
 void ucFormulario_OnCancelarModal()
 {
     try
     {
         AgenteMaster master = Master as AgenteMaster;
         if (master != null)
         {
             master.CambiaTicket = true;
             master.RemoveTicketOpen(IdUsuarioSolicito, true);
         }
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #2
0
 private void UcTicketDetalle_OnCierraTicket(int idTicket, bool redirect)
 {
     try
     {
         AgenteMaster master = Master as AgenteMaster;
         if (master != null)
         {
             master.CambiaTicket = true;
             master.RemoveTicketOpen(idTicket, redirect);
         }
     }
     catch (Exception ex)
     {
         if (_lstError == null)
         {
             _lstError = new List <string>();
         }
         _lstError.Add(ex.Message);
         Alerta = _lstError;
     }
 }