This program provides an admin page for a small business owner to track their vendors and each of their vendors orders.
Behavior | Input | Output |
---|---|---|
User can add a new vendor | "Epicodus Coffee" | A new instance of the vendor object called "Epicodus Coffee" is instantiated and added to a vendor list. |
User can view all vendors | Navigate to "All Vendors" page | A list of all vendors with links to individual vendor page |
User can view individual vendor | Clicks individual vendor link | All data for that vendor is displayed |
User can delete all vendors | User selects "Clear Vendor List | User confirmation is requested and then vendor data is cleared |
User can add a new order to an individual vendor | "Bagels" | A new instance of the order object called "Bagel" is instantiated and added to an order list for a specific vendor" |
User can specify the quantity of the order | "Bagels", 4 | Quantity is added to the "bagel" order object |
User can view all orders | User navigates to all orders | All orders are displayed with a link to their individual order detail page |
User can view individual order details | User clicks link individual order link | All data for that order is displayed |
User can clear all orders | User selects "Clear Order List" | User confirmation is request and then order data is cleared |
In your computer's terminal:
- Navigate to where you want this application to be saved, i.e.:
cd desktop
- Clone the file from GitHub with HTTPS
git clone
- Enter into the new file directory
cd vendororders.solutions
- Start the program
dotnet run
No known bugs at this time.
Have a bug or an issue with this application? Open a new issue here on GitHub.
- C#
- .NET Core
- Razor Templating
Copyright (c) 2020 K.Wicz