Exemplo n.º 1
0
        public static TicketAutomationTrigger GetTicketAutomationTrigger(LoginUser loginUser, int triggerID)
        {
            TicketAutomationTriggers ticketAutomationTriggers = new TicketAutomationTriggers(loginUser);

            ticketAutomationTriggers.LoadByTriggerID(triggerID);
            if (ticketAutomationTriggers.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(ticketAutomationTriggers[0]);
            }
        }
Exemplo n.º 2
0
 public TicketAutomationTrigger(DataRow row, TicketAutomationTriggers ticketAutomationTriggers) : base(row, ticketAutomationTriggers)
 {
     _ticketAutomationTriggers = ticketAutomationTriggers;
 }