Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        public TicketReportPerParticipant getAllTickets()
        {
            var tr = new TicketReportPerParticipant();

            tr.All           = allTickets;
            tr.Completed     = closedTickets;
            tr.Opened        = openTickets;
            tr.UnAcknowlaged = unAknowlagedTickets;
            tr.OverDue       = GetOverDueTickets();
            return(tr);
        }