public TicketReportPerParticipant GetParticipantReport(string id) { TicketReportPerParticipant participant = new TicketReportPerParticipant(); participant.Opened = OpenTickets(id); participant.Completed = CompletedTickets(id); participant.UnAcknowlaged = UnAknowlagedTickets(id); participant.All = AllTickets(id); participant.OverDue = GetOverDueTicketsPerParticipant(id); return(participant); }
public TicketReportPerParticipant getAllTickets() { var tr = new TicketReportPerParticipant(); tr.All = allTickets; tr.Completed = closedTickets; tr.Opened = openTickets; tr.UnAcknowlaged = unAknowlagedTickets; tr.OverDue = GetOverDueTickets(); return(tr); }