From 38e58b41b1cc43cc610ba5dfc0ac27a64ac6965b Mon Sep 17 00:00:00 2001 From: eugeniy_ivanov Date: Mon, 13 Mar 2023 11:24:57 +0500 Subject: [PATCH] Add sort --- AsbCloudInfrastructure/Repository/WellOperationRepository.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AsbCloudInfrastructure/Repository/WellOperationRepository.cs b/AsbCloudInfrastructure/Repository/WellOperationRepository.cs index 928a5fde..f81390ec 100644 --- a/AsbCloudInfrastructure/Repository/WellOperationRepository.cs +++ b/AsbCloudInfrastructure/Repository/WellOperationRepository.cs @@ -50,8 +50,7 @@ namespace AsbCloudInfrastructure.Repository } var result = categories - .OrderBy(o => o.IdParent) - .ThenBy(o => o.Name) + .OrderBy(o => o.Name) .Adapt>(); return result;