The RESTful Web API Source Code Solution implements two primary services:
-
CRUD Operations:
- Create: Add a new "Ticket Item" using POST method with InputDTO model and AutoMapper extension.
- Update: Update an existing "Ticket Item" using PATCH method with JsonPatchDocument extension.
- Read: Return a single "Ticket Item" using GET method.
- Read (List): Return a list of "Ticket Items" using GET method.
- Delete: Remove a "Ticket Item" using DELETE method.
-
Ticket object definition:
IdEventNameDescriptionEventDate(Date and Time)TicketNumber(Computed class property based onEventDateand ticketId)
- Endpoints:
- Fibonacci Sequence: Calculate Fibonacci sequence numbers up to a specified maximum value.
- Palindrome Words: Determine which words are palindromes from a given list of words.