public override async Task <IQueryableStorage <Item> > CreateAsync(params Item[] values) { var setMap = new SetMap <Guid, Item>(); foreach (var value in values) { await setMap.AddItemAsync(Fixture.Create <Guid>(), value); } return(setMap); }
public override async Task <IQueryableStorage <KeyValuePair <Guid, Item> > > CreateAsync(params KeyValuePair <Guid, Item>[] values) { var setMap = new SetMap <Guid, Item>(); foreach (var keyValuePair in values) { await setMap.AddItemAsync(keyValuePair.Key, keyValuePair.Value); } return(setMap); }