Merge branch 'AddQuote' into basic_jwt_auth

This commit is contained in:
2025-07-15 12:39:25 +02:00
4 changed files with 171 additions and 0 deletions

7
DTOs/CreateQuote.cs Normal file
View File

@@ -0,0 +1,7 @@
public record class CreateQuoteRequest
{
public string Text { get; set; }
public string Author { get; set; }
public List<int> CategoryIds { get; set; }
public string? ImageUrl { get; set; }
};

9
DTOs/RandomQuote.cs Normal file
View File

@@ -0,0 +1,9 @@
public record class RandomQuote
{
public string Text { get; set; } = string.Empty;
public string Author { get; set; } = string.Empty;
public string? ImageUrl { get; set; }
public List<string> Categories { get; set; } = new();
};