public async Task <List <ToDoItem> > GetToDoItemsAsync() { _toDoItems = null; string commandUrl = "GetToDoItems"; var result = await _httpRequestService.Get <ToDoItemsResult>(commandUrl); _toDoItems = result?.ToDoItems; return(_toDoItems); }
public async Task <List <ToDoItem> > GetToDoItemsAsync() { _toDoItems = null; string commandUrl = "GetToDoItems"; var result = await _httpRequestService.Get <ToDoItemsResult>(commandUrl); _toDoItems = result?.ToDoItems; return(_toDoItems); }