static void Main(string[] args)
        {
            var person = new BMIModel
            {
                Feet   = 5,
                Inche  = 11,
                Pounds = 181
            };
            var result = BMILogic.CalBMI(person);

            Console.WriteLine($"Your BMI is: {result}");
        }
Beispiel #2
0
 public BMIController()
 {
     _bmiLogic = new BMILogic();
 }