public IActionResult Delete() { /* * TODO: Shouldn't be using ConsoleLogger directly. What if we wanted to use a different type of logger? */ ConsoleLogger.Instance.Log("Delete hobbits"); watchService.Lap("Controller"); database.DeleteAll(); return(StatusCode((int)HttpStatusCode.NoContent)); }