public void ViewAddTodoList() { Console.WriteLine("MENAMBAH TODOLIST"); var todo = InputUtil.Input("Todo (x Jika Batal)"); if (todo.Equals("x")) { } else { _todoService.AddTodoList(todo); } }
public async Task <ActionResult <TodoList> > AddTodoList(NewTodoList newlist) { // return return(Ok(await _todoService.AddTodoList(newlist))); }