Add TodosController with GET/POST/PATCH/DELETE endpoints
This commit is contained in:
5
backend/Dtos/CreateTodoRequest.cs
Normal file
5
backend/Dtos/CreateTodoRequest.cs
Normal file
@@ -0,0 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Backend.Dtos;
|
||||
|
||||
public record CreateTodoRequest([Required, StringLength(500, MinimumLength = 1)] string Title);
|
||||
Reference in New Issue
Block a user