Part of #789.
Problem
/reports with no id is a dead end on both hosts. Razor returns 500. Next.js renders "Report not found / Missing or invalid report id."
Reports are reachable from search and home, but there is no working reports index.
Current gaps
- Razor
GET /reports β 500 error page.
- Next.js
GET /reports β not-found empty state that assumes a detail route.
- No list of seeded reports (30 in demo seed) on either UI.
Frontend / Razor references
frontend/app/reports/page.tsx
web/Pages/Reports/Index.cshtml
GET /api/reports
Definition of done
- Visiting
/reports without an id does not 500 and does not look like a missing detail record.
- Either render a report list from
/api/reports, or show a clear empty/index state that matches the chosen product behavior on both hosts.
- Typecheck, lint, and tests cover the missing-id path.
Part of #789.
Problem
/reportswith noidis a dead end on both hosts. Razor returns 500. Next.js renders "Report not found / Missing or invalid report id."Reports are reachable from search and home, but there is no working reports index.
Current gaps
GET /reportsβ 500 error page.GET /reportsβ not-found empty state that assumes a detail route.Frontend / Razor references
frontend/app/reports/page.tsxweb/Pages/Reports/Index.cshtmlGET /api/reportsDefinition of done
/reportswithout an id does not 500 and does not look like a missing detail record./api/reports, or show a clear empty/index state that matches the chosen product behavior on both hosts.