docs: fix sorting for ComputePoemRecitationsOrdersAsync

This commit is contained in:
Hamid Reza Mohammadi 2022-03-20 16:59:12 +03:30
parent e9a7c4e765
commit 392d3d9eef

View File

@ -1971,7 +1971,7 @@ namespace RMuseum.Services.Implementationa
}
scores.Sort((a, b) => b.ComputedOrder.CompareTo(a.ComputedOrder));//sort descending
scores.Sort((a, b) => a.ComputedOrder.CompareTo(b.ComputedOrder));
if (update)
await context.SaveChangesAsync();