public static OrganizationTicket GetOrganizationTicket(LoginUser loginUser, int ticketID) { OrganizationTickets organizationTickets = new OrganizationTickets(loginUser); organizationTickets.LoadByTicketID(ticketID); if (organizationTickets.IsEmpty) { return(null); } else { return(organizationTickets[0]); } }
public OrganizationTicket(DataRow row, OrganizationTickets organizationTickets) : base(row, organizationTickets) { _organizationTickets = organizationTickets; }