void methods to return
IActionResult, and return a result representing the status of the operation.
Controller action return types in ASP.NET Core web API | Microsoft Docs[^]
public IActionResult Delete(int id)
if (!RecordExists(id)) return NotFound();
"These people looked deep within my soul and assigned me a number based on the order in which I joined."