Exemplo n.º 1
0
        public void InsertTicket(Ticket ticket)
        {
            if (ticket == null)
                throw new ArgumentNullException("ticket");

            _ticketRepo.Insert(ticket);

            _eventPublisher.EntityInserted(ticket);
        }
Exemplo n.º 2
0
        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");
 }