DeutschLernen/GermanApp/Presentation
Lasse Rune Hansen 82df791907 fix(backend/api): Return empty array instead of 404 when no story segments exist
- GetSegmentsByLevelAsync now returns Ok([]) instead of NotFound() when no segments exist
- Prevents frontend from throwing errors when database has no story segments
- More RESTful: 200 with empty array vs 404 for non-existence

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-14 09:19:11 +02:00
..
Controllers fix(backend/api): Return empty array instead of 404 when no story segments exist 2026-06-14 09:19:11 +02:00
Endpoints fix(backend): update Lesson entity and related code to use LevelId foreign key 2026-06-07 21:25:46 +02:00
Validators feat(backend/validation): add FluentValidation for DTOs and update controllers 2026-06-09 17:35:14 +02:00