private decimal CalculateFlatValue(int income) { var tax = new FlatValue(); tax.Calculate(income); return(tax.Result); }
public FlatValueCalculator(IOptions <TaxOptionSet> options) { flatValue = options.Value.FlatValue; }
private decimal CalculateFlatValue(int income) { var tax = new FlatValue(); tax.Calculate(income); return(tax.Result); }
public FlatValueCalculator(IOptions <TaxOptionSet> options) { flatValue = options.Value.FlatValue; }