public Task <TaxRate> GetTaxRateAsync(TaxRateRequest request)
        {
            var rate = _settingService.GetSettingByKey <decimal>($"Tax.TaxProvider.FixedRate.TaxCategoryId{request.TaxCategoryId}");

            return(Task.FromResult(new TaxRate(rate, request.TaxCategoryId)));
        }
Пример #2
0
 public Task<TaxRate> GetTaxRateAsync(TaxRateRequest request) 
     => Task.FromResult(new TaxRate(0m, request.TaxCategoryId));