public void InsertTicket(Ticket ticket)
        {
            if (ticket == null)
                throw new ArgumentNullException("ticket");

            _ticketRepo.Insert(ticket);

            _eventPublisher.EntityInserted(ticket);
        }
        public void DeleteTicket(Ticket ticket)
        {
            if (ticket == null)
                throw new ArgumentNullException("ticket");

            _ticketRepo.Delete(ticket);

            _eventPublisher.EntityDeleted(ticket);
        }
 public ActionResult Edit(Ticket model)
 {
     return View("EditTicket");
 }