Beispiel #1
0
        public IActionResult DeleteSalesInvoice(long id)
        {
            SalesInvoice SalesInvoice = Invoice_repo.Find(id);

            if (SalesInvoice == null)
            {
                return(NotFound());
            }

            Invoice_repo.Delete(SalesInvoice);
            return(Ok());
        }