Exemple #1
0
        public static UserTicket GetUserTicket(LoginUser loginUser, int ticketID)
        {
            UserTickets userTickets = new UserTickets(loginUser);

            userTickets.LoadByTicketID(ticketID);
            if (userTickets.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(userTickets[0]);
            }
        }
Exemple #2
0
 public UserTicket(DataRow row, UserTickets userTickets) : base(row, userTickets)
 {
     _userTickets = userTickets;
 }