public void UpdateTicket(Ticket ticket)
 {
     _ticketDAO.Update(ticket);
 }
 public void RemoveTicket(Ticket ticket)
 {
     _ticketDAO.Remove(ticket);
 }
        ///////////////////////////TICKETS//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        public void AddTicket(Ticket ticket)
        {
            _ticketDAO.Add(ticket);
        }
        public Ticket GetTicket(long id)
        {
            Ticket ticket = _ticketDAO.Get(id);

            return(ticket);
        }
        public override bool Equals(object obj)
        {
            Ticket other = (Ticket)obj;

            return(this == other);
        }