|
|
|
@ -418,6 +418,11 @@ namespace EPAServeur.Services |
|
|
|
|
return query.OrderBy(p => p.EstCertifiee); |
|
|
|
|
else |
|
|
|
|
return query.OrderByDescending(p => p.EstCertifiee); |
|
|
|
|
case "participants": |
|
|
|
|
if (asc.Value) |
|
|
|
|
return query.OrderBy(p => p.ParticipationsFormation.Count); |
|
|
|
|
else |
|
|
|
|
return query.OrderByDescending(p => p.ParticipationsFormation.Count); |
|
|
|
|
default: |
|
|
|
|
if (asc.Value) |
|
|
|
|
return query.OrderBy(p => p.Intitule); |
|
|
|
|