Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public IActionResult GetAllOrders() { var allInvoices = _repository.GetAllInvoices(); var noInvoices = !allInvoices.Any(); if (noInvoices) { return(NotFound("There are currently no invoices.")); } return(Ok(allInvoices)); }