Exemple #1
0
        public async Task UpdateList(Guid sourceCommandId)
        {
            var items      = _repository.GetAllItems().Result;
            var queryItems = items.Select(i => i.ToQueryModel());

            await _queryStore.Upsert("ItemList", queryItems);

            await _queryStoreCommandHistory.Add(sourceCommandId);
        }