public void Create(InvoiceItemDto model) { _invoiceItemRepository.Create(_mapper.Map <InvoiceItem>(model)); _invoiceItemRepository.SaveChanges(); }