Mini Pizza Order System
Overview
This C# console application simulates a pizza ordering system, allowing users to place and manage pizza orders. The domain logic handles various aspects such as order creation, menu management, and order processing.
Core Components
-
Menu Management
- Pizza Types: The system supports different types of pizzas, each with specific prices and ingredients.
- Extras: Users can add extra toppings or sides to their orders.
-
Order Management
- Order Creation: Users can create new orders by selecting pizzas and extras from the menu.
- Order Modification: Users can modify existing orders, including adding or removing items.
- Order Cancellation: Users can cancel orders if needed.
-
Pricing and Billing
- Cost Calculation: The system calculates the total cost based on the selected items, including extras.
- Discounts and Promotions: The system may apply any available discounts or promotions to the order total.
-
User Interaction
- Console Input: Users interact with the system via console input, making selections from displayed options.
- Order Confirmation: The system confirms the order details and total cost before finalizing the order.
Example Workflow
-
Display Menu: The system displays a list of available pizzas and extras.
-
Create Order: Users select items to add to their order.
-
Review Order: The system shows a summary of the selected items and the total cost.
-
Modify Order: Users can modify their order if needed (add/remove items).
-
Confirm and Place Order: The order is confirmed and processed, displaying the final order summary.
This logic ensures a smooth and interactive user experience for managing pizza orders via a console interface.