Skip to content

Instantly share code, notes, and snippets.

Created May 26, 2021
What would you like to do?
public async Task Test()
var sku = Guid.NewGuid().ToString();
var sut = new GetProductBySkuHandlerDelegateExample(x => Task.FromResult(new Product { Sku = x }));
var result = await sut.Handle(new GetProductBySkuRequest(sku), CancellationToken.None);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment