Skip to content

Instantly share code, notes, and snippets.

@OksanaH
Created Jan 5, 2021
Embed
What would you like to do?
OrderApiGateway
public class OrderApiGateway
{
private readonly TaxCodeCalculator taxCalculator;
public OrderApiGateway(TaxCodeCalculator taxCalculator)
{
this.taxCalculator = taxCalculator;
}
public string GetOrderNumber()
{
return $"SDNU-{taxCalculator.GetCode()}";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment