public static TicketSlaViewItem GetTicketSlaViewItem(LoginUser loginUser, int ticketID) { TicketSlaView ticketSlaView = new TicketSlaView(loginUser); ticketSlaView.LoadByTicketID(ticketID); if (ticketSlaView.IsEmpty) { return(null); } else { return(ticketSlaView[0]); } }
public TicketSlaViewItem(DataRow row, TicketSlaView ticketSlaView) : base(row, ticketSlaView) { _ticketSlaView = ticketSlaView; }