public async Task <IActionResult> DeleteAll() { var successful = await _todoItemService.DeleteAll(); if (!successful) { return(BadRequest("Could not delete items")); } return(RedirectToAction("Index")); }