PRN231_-_PE_-_SU_2023_-_Block_5_919.webp
E

PRN231_-_PE_-_SU_2023_-_Block_5_919.webp

Figure 6-The result of api at /api/employee/delete/{Employeeld) when the database server is in stopped state.
Question 2. (5 points)
In this question, you are asked to write a web site (MVC or RazorPages) that using APIs of Question 1 to manage orders and employees.
Note that using the root path http://localhost:5000 to call APIs.
You are asked to create page at url /Order/OrderList to display all orders, search orders by order's date and delete employee of the order.
List Orders
17204
1008-18 27000000
LABON
Figure 1 The page when first loaded.
2.1 (1.5 points) when user open/Order/OrderList, load all orders from database like Figure 1.
2.2 (1.5 points) user can use two inputs [From date] and [To date] and button Search, to search orders
that has OrderDate between [From date] and [To date). List of orders will be reloaded.
2.3 (2 points) if user click on the link (Delete Employee), delete the corresponding employee and all related information. After that, show the message to notify and reload list of orders (all remaining orders in.the database). See Figure 2.
Zoom FUO + 80%
Close
Chưa có bình luận nào.

Thông tin

Category
PRN231
Thêm bởi
eternal_purity1
Ngày thêm
Lượt xem
899
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN231_-_PE_-_SU_2023_-_Block_5_919.webp
File size
69.4 KB
Dimensions
1920px x 1017px

Share this media

Back
Bên trên Bottom