예제 #1
0
        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}");
        }
예제 #2
0
 public BMIController()
 {
     _bmiLogic = new BMILogic();
 }