Skip to content

Commit 1e3eafc

Browse files
Oderbydescending added in controller
1 parent 3562c72 commit 1e3eafc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ApiIntegrationMvc/Areas/Admin/Controllers/LogsController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public async Task<IActionResult> Index(CancellationToken ct)
1818
var result = await _centralizedlogs.GetAllErrorAsync(ct);
1919

2020

21-
return View(result);
21+
return View(result.OrderByDescending(v => v.Id));
2222
}
2323
}
2424
}

0 commit comments

Comments
 (0)