Last active
November 17, 2018 14:46
-
-
Save explorer14/641b21349423d64a54512e21201982e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal class StubPublisher : IPublishProductInformation | |
{ | |
public Dictionary<int, Product> PublishedProducts = new Dictionary<int, Product>(); | |
public async Task Publish(Product productInformation) | |
{ | |
PublishedProducts.Add(productInformation.ProductId, | |
productInformation); | |
await Task.CompletedTask; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment