void ucFormulario_OnCancelarModal() { try { AgenteMaster master = Master as AgenteMaster; if (master != null) { master.CambiaTicket = true; master.RemoveTicketOpen(IdUsuarioSolicito, true); } } catch (Exception) { throw; } }
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; } }