def update(self, num, title, content): #num, content valid check if title == "" or content == "": message_display("제목과 내용을 입력하세요.") service = TodoService() message = service.update(num, title, content) message_display(message)
def update(self, id, title): if id == "" or title == "": message_display("id와 todo title을 입력해주세요") service = TodoService() message = service.update(id, title) message_display(message)
def update(self, todoNum): service = TodoService() message = service.update(todoNum) message_display(message)
def update(self, index, what): TodoService.update(index, what) did_well()