public async Task <ActionResult <TodoItemDto> > GetTodoItem(string id) { var result = await _todoAppService.GetTodoByIdAsync(id); if (result == null) { return(NotFound()); } return(Ok(result)); }