public async void TestSingleEmployeeAndTwoDependentOneDiscount()
        {
            var calculator = new HealthBenefitsCalculator();

            var parameters = new BenefitsCalcParameters()
            {
                FirstName  = "b",
                LastName   = "c",
                Dependents = new Dependent[]
                {
                    new Dependent()
                    {
                        FirstName = "c",
                        LastName  = "d"
                    },
                    new Dependent()
                    {
                        FirstName = "ann",
                        LastName  = "f"
                    },
                }
            };

            var result = await calculator.CalculateHealthCareBenefit(parameters);

            Assert.Equal(1950, result);
        }
        public async void TestSingleEmployee()
        {
            var calculator = new HealthBenefitsCalculator();

            var parameters = new BenefitsCalcParameters()
            {
                FirstName = "b",
                LastName  = "c"
            };

            var result = await calculator.CalculateHealthCareBenefit(parameters);

            Assert.Equal(1000, result);
        }
        public async Task <decimal> Post([FromBody] BenefitsCalcParameters parameters)
        {
            var calculator = new HealthBenefitsCalculator();

            return(await calculator.CalculateHealthCareBenefit(parameters));
        }