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]); } }
public TicketAutomationTrigger(DataRow row, TicketAutomationTriggers ticketAutomationTriggers) : base(row, ticketAutomationTriggers) { _ticketAutomationTriggers = ticketAutomationTriggers; }