protected override List<ITicketData> GetTicketReference(ITicket ticket, List<ITicketData> ticketData) { var foundTicketData = new List<ITicketData>(); if (ticketData != null && ticketData.Count > 0) { foundTicketData = ticketData.FindAll(item => item.RefNo.Equals(ticket.TransId.ToString())); } return foundTicketData; }
protected override List<ITicketData> GetReferenceData(ITicket ticket, List<ITicketData> ticketData) { return ticketData.FindAll(item => item.RefNo.Equals(ticket.RefNo)); }