PRN231_-_PE_-_SU_2024_2169.webp
Momo91

PRN231_-_PE_-_SU_2024_2169.webp

  • Media owner Momo91
  • Ngày thêm
[HttpGet] api/Employee
[HttpPost] api/Employee
Return all employees.
Allow adding a new employee to the database. The information of the employee to be added is in the
following format:
{ "employeeId": 0,
"name": "string",
"gender": "string",
"dob": { "year": 0,
"month": 0,"day": 0
},
"position": "string",
"isFulltime": true
}
This api will returns:
Conflict() in case there is already an employee with the same employeeid as the one being added.
StatusCode 500 in case any other error occurs.
Ok() in case the employees is added successfully.
You can see the GivenAPIs project in the download materials folder for more details.
Using given APIs, you are asked to create web page at url/Employee/List.
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRN231_-_PE_-_SU_2024_2169.webp
File size
212.9 KB
Dimensions
2560px x 1108px

Share this media

Back
Bên trên Bottom