Exemplo n.º 1
0
        public void UpdateInvoice(Invoice invoice)
        {
            if (invoice == null)
            {
                throw new ArgumentException("invoice");
            }

            ValidateInvoice(invoice);

            _invoiceRepository.AddOrUpdate(invoice);
        }