Example #1
0
 public IEnumerable <TicketDTO> GetTicketsOfSubprocess(int id)
 {
     return(dbm.FindAllTicketsBySubprocessID(id)
            .Select(x =>
     {
         if (x != null)
         {
             return converter.TicketToDTO(x);
         }
         return null;
     })
            .ToList());
 }