public async Task <IActionResult> GetById(int id) { OrderModel?result = await OrderTable.GetOrderById(_dbConnection, id); if (result == null) { return(NotFound()); } return(Ok(result)); }