Commit acdd317b authored by Almouhannad's avatar Almouhannad

(B) order waiting list records

parent 4c079234
......@@ -43,6 +43,7 @@ public class WaitingListRepository : Repositroy<WaitingListRecord>, IWaitingList
try
{
var query = _context.Set<WaitingListRecord>()
.OrderBy(waitingListRecord => waitingListRecord.ArrivalTime)
.Include(waitingListRecord => waitingListRecord.Patient)
.ThenInclude(patient => patient.PersonalInfo)
.Include(waitingListRecord => waitingListRecord.Patient)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment