chore: (WIP) group controllers, slightly annotate code

This commit is contained in:
2025-07-15 13:24:39 +02:00
parent dee143dbc8
commit a355c668bd
8 changed files with 175 additions and 174 deletions

View File

@@ -1,7 +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; }
};
public record class CreateQuoteDTO
{
public string Text { get; set; }
public string Author { get; set; }
public List<int> CategoryIds { get; set; }
public string? ImageUrl { get; set; }
};

View File

@@ -1,9 +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();
};
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();
};