public ActionResult <Todo> Delete(string todoId) { bool success = _tr.DeleteTodo(todoId); if (success) { return(Ok()); } return(BadRequest()); }