fix: doctor report list shows all patient reports, upload area supports file selection, start-dev.bat starts frontends
This commit is contained in:
@@ -14,6 +14,14 @@ public class ReportService(AppDbContext db)
|
||||
.OrderByDescending(r => r.UploadedAt)
|
||||
.ToListAsync();
|
||||
|
||||
public async Task<List<Report>> GetAllReportsAsync()
|
||||
=> await db.Reports
|
||||
.Include(r => r.Patient)
|
||||
.Include(r => r.Doctor)
|
||||
.Include(r => r.Items)
|
||||
.OrderByDescending(r => r.UploadedAt)
|
||||
.ToListAsync();
|
||||
|
||||
public async Task<Report?> GetByIdAsync(Guid id)
|
||||
=> await db.Reports
|
||||
.Include(r => r.Patient)
|
||||
|
||||
Reference in New Issue
Block a user