Categories
Cagay
Categoryflame
Description
mployees
Orders
Comp
Order Details
Question 1. (5 points)
In this question, y ou are asked to write an application that provide some API to manage orders and employees.
Note: 0 will be given to the work that
not using database connection string in the file appsettings.json
not configuring the root path of Api Web App at
http://localhost:5000
You are asked to build three APIs, as following:
Employee
aps/player/Delete(mployeeld)
Order
/apt/Order/GetOrder
Figure 1 - Required APIs.
1.1 (1.5 point)
The API at url/api/order/getallorderreturn information of all orders in database, using GET method.
Each order requires the information shown in Figure 2. Note that:
Zoom FUO
+ 80%
Close