public decimal GiftAidAmount(decimal donationAmount, string eventType) { var taxrate = taxRepo.GetRate() + suppRepo.GetRate(eventType); return(decimal.Round(donationAmount * (taxrate / (100 - taxrate)), 2, MidpointRounding.AwayFromZero)); }