Beispiel #1
0
        public IEnumerable <TodoItem> GetList()
        {
            var command = new FetchTodoList {
                Persistor = this.Persistor
            };

            command.Execute();

            ViewModel.TodoItems = command.Value.ToList();

            return(command.Value);
        }
        public IEnumerable<TodoItem> GetList()
        {
            var command = new FetchTodoList { Persistor = this.Persistor };
            command.Execute();

            ViewModel.TodoItems = command.Value.ToList();

            return command.Value;
        }