From cd9f87f4ec3d829c031cc5fc6b3375aab1f13374 Mon Sep 17 00:00:00 2001 From: Mikhail Trubnikov Date: Thu, 18 Apr 2024 11:13:14 +1000 Subject: [PATCH] feat(api): ApplicationType GetAll, order by description --- PARR.API/Controllers/V1/ApplicationTypeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PARR.API/Controllers/V1/ApplicationTypeController.cs b/PARR.API/Controllers/V1/ApplicationTypeController.cs index 36d6fa74..6f6c3f8a 100644 --- a/PARR.API/Controllers/V1/ApplicationTypeController.cs +++ b/PARR.API/Controllers/V1/ApplicationTypeController.cs @@ -38,7 +38,7 @@ namespace PARR.API.Controllers.V1 [HttpGet(ApiRoutes.ApplicationType.GetAll)] public async Task GetAll() { - var appTypes = await applicationTypeService.Get().OrderBy(t => t.Name) + var appTypes = await applicationTypeService.Get().OrderBy(t => t.Description) .ToListAsync(); if (!appTypes.Any())