sort latest first
This commit is contained in:
@@ -145,7 +145,7 @@ namespace CarParkValidationAPI.Repository
|
||||
}
|
||||
*/
|
||||
statuscode = 1;
|
||||
result.Sort((x, y) => x.ValidateDate.CompareTo(y.ValidateDate));
|
||||
result.Sort((x, y) => y.ValidateDate.CompareTo(x.ValidateDate));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user