public TaxCalculatorBll(IRepository<Tax> repository, IValidator validator)
        {
            this.repository = repository;
            this.validator = validator;
            this.taxCalculatorDal = new TaxCalculatorDal(repository);

            Mapper.CreateMap<ValidTax, ValidTaxModel>();
            Mapper.CreateMap<InvalidTax, InvalidTaxModel>();
            Mapper.CreateMap<ValidTaxModel, Tax>();
            Mapper.CreateMap<Tax, ValidTaxModel>();
        }
 public TaxCalculationBll()
 {
     repository = new SqlRepository();
     validator = new TaxValidator();
     taxCalculatorDal = new TaxCalculatorDal(repository);
 }