A complete REST API for todo management built with ASP.NET Core, Entity Framework, and DTO pattern.
- RESTful API with CRUD operations
- Entity Framework Core with In-Memory Database
- DTO Pattern for secure data transfer
- Dependency Injection
- Logging with ILogger
- Input validation with Data Annotations
| Method | Endpoint | Description |
|---|---|---|
GET |
/items |
Get all todo items |
GET |
/items/{id} |
Get item by ID |
POST |
/items |
Create new item |
PATCH |
/items/{id}/complete |
Mark as completed |
PATCH |
/items/{id}/uncomplete |
Mark as uncompleted |
DELETE |
/items/{id} |
Delete item |