Competitions & Winners CRUD
In the Project, I build a CRUD REST API from scratch using .NET 6. The backend system supports Creating, Reading, Updating and Deleting Competitions. The backend system supports Creating, Reading, Updating and Deleting Winners. ... more sections are coming in the coming days
POST /competition
{
"name": "Participate and enjoy the match between Saudi and UAE",
"description": "The purchase condition is not required to enter the competition. The following categories are not allowed to participate in the competition, in order to achieve transparency, and they are: All members of the Jeddah Chamber of Commerce and their families.",
"startDateTime": "2022-04-08T08:00:00",
"endDateTime": "2022-04-08T08:00:00",
"numberofwinners": "120",
"numberofwithdraws": "330"
}
GET /competition/{{id}}
PUT /competition/{{id}}
DELETE /competition/{{id}}
204 No Content
200 Ok
Location: {{host}}/Breakfasts/{{id}}
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "Participate and enjoy the match between Saudi and UAE",
"description": "The purchase condition is not required to enter the competition. The following categories are not allowed to participate in the competition, in order to achieve transparency, and they are: All members of the Jeddah Chamber of Commerce and their families.",
"startDateTime": "2022-04-08T08:00:00",
"endDateTime": "2022-04-08T08:00:00",
"numberofwinners": "120",
"numberofwithdraws": "330"
}