feat(api): ApplicationType GetAll, order by description
This commit is contained in:
@@ -38,7 +38,7 @@ namespace PARR.API.Controllers.V1
|
||||
[HttpGet(ApiRoutes.ApplicationType.GetAll)]
|
||||
public async Task<IActionResult> GetAll()
|
||||
{
|
||||
var appTypes = await applicationTypeService.Get().OrderBy(t => t.Name)
|
||||
var appTypes = await applicationTypeService.Get().OrderBy(t => t.Description)
|
||||
.ToListAsync();
|
||||
|
||||
if (!appTypes.Any())
|
||||
|
||||
Reference in New Issue
Block a user