コード例 #1
0
        public async Task <IActionResult> AddInvoice([FromBody] InvoiceModel invoice)
        {
            try
            {
                var result = await _ISupervisor.AddInvoice(invoice);

                return(Ok(result));
            }
            catch (Exception ex)
            {
                return(Ok(ex));
            }
        }