// POST: api/Invoice public void Post([FromBody] InvoiceModel invoice) { invoiceData.AddInvoice(invoice); }