public Tickets SelectAllTickets()
 {
     try
     {
         var list = new Tickets {
             Collection = new List <TicketVo>()
         };
         foreach (var t in dao.SelectAll())
         {
             var tv = toTicketVo(t);
             list.Collection.Add(tv);
         }
         return(list);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public Tickets SelectLimitedTickets(int offset, int limit)
 {
     try
     {
         var list = new Tickets {
             Collection = new List <TicketVo>()
         };
         foreach (var t in dao.SelectLimit(offset, limit))
         {
             System.Diagnostics.Debug.WriteLine(t.StartDate);
             var tv = toTicketVo(t);
             list.Collection.Add(tv);
         }
         return(list);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }