//CR: Method NewRequest has 2 arguments public object NewRequest(string menuItem) { if (menuItem == "Chicken") { ChickenOrder chicken = new ChickenOrder(); MI = chicken.GetQuantity(quantity); //CR: Quantity should be gotten from UI return(MI); } else //CR: It will be better, if you add one more if-statement to check (menuItem=="Egg"???) { EggOrder egg = new EggOrder(); MI = egg.GetQuantity(quantity); //CR: Quantity should be gotten from UI return(MI); } }