Beispiel #1
0
        public ActionResult FindTicket(int id)
        {
            Ticket ticket = TicketRepo.Get(id);

            return(View("DisplayTicket", ticket));
        }
 public List <Ticket> GetTickets()
 {
     return((List <Ticket>)ticketRepo.Get(x =>
                                          (!UseBeginDate || x.DateReported > BeginDate) &&
                                          (!UseEndDate || x.DateReported < EndDate)));
 }
 internal IEnumerable <Ticket> Get(int projectIt)
 {
     return(_ticketRepo.Get(projectIt));
 }
Beispiel #4
0
 public Ticket GetTicket(int Id)
 {
     return _repo.Get(Id);
 }