Пример #1
0
        public int AddTicket(ITicket ticket)
        {
            Guard.WhenArgument(ticket, ticket.GetType().Name).IsNull().Throw();
            this.tickets.Add(ticket);

            return(this.tickets.Count - 1);
        }