Example #1
0
        public void Create(InvoiceDetailViewModel model)
        {
            var entity = mapper.Map(model, new InvoiceDetail());

            invoiceDetailRepository.Add(entity);
            invoiceDetailRepository.SaveChanges();
        }