Esempio n. 1
0
        public void AddInvoiceLine(Guid examId)
        {
            var ext = InvoiceLines.FirstOrDefault(c => c.InvoiceId == Id && c.ExamId == examId);

            if (ext == null)
            {
                InvoiceLines.Add(new InvoiceLine(Id, examId));
            }
        }