public static AssetTicket GetAssetTicket(LoginUser loginUser, int ticketID) { AssetTickets assetTickets = new AssetTickets(loginUser); assetTickets.LoadByTicketID(ticketID); if (assetTickets.IsEmpty) { return(null); } else { return(assetTickets[0]); } }
public AssetTicket(DataRow row, AssetTickets assetTickets) : base(row, assetTickets) { _assetTickets = assetTickets; }