public static int GetTotalPrice() { List <Bread> allBreadOrders = Bread.GetThatBread(); List <Pastry> allPastryOrders = Pastry.GetThePastries(); Pastry.ApplyPastryDeals(); Bread.ApplyBreadDeals(); int totalOrderPrice = Pastry.GetTotalPastryPrice() + Bread.GetTotalBreadPrice(); return(totalOrderPrice); }