public async Task <IActionResult> GetAllOrders() { var orders = await _repo.GetAllOrders(); if (orders == null) { return(NotFound()); } return(Ok(orders)); }