public TaxTypesController(TaxCalculatorContext context) { _context = context; }
public TaxCalculationRepository(TaxCalculatorContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public decimal Calculate(string countryCode, decimal annualIncome) { _context = new TaxCalculatorContext(ResolveTaxCalculatorStrategy(countryCode)); return(_context.Calculate(annualIncome)); }
public PostalCodesController(TaxCalculatorContext context) { _context = context; }
public HomeController(ILogger <HomeController> logger, TaxCalculatorContext context) { _logger = logger; _context = context; }
public ProgressiveTaxesController(TaxCalculatorContext context) { _context = context; }
public CalculatedTaxesController(TaxCalculatorContext context) { _context = context; }