Skip to content

Instantly share code, notes, and snippets.

Created January 5, 2021 22:31
What would you like to do?
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