From bb01e645fe386e6fcb276f6d4c29cb67ab49ee73 Mon Sep 17 00:00:00 2001 From: "ashutosh.nehete" Date: Thu, 11 Dec 2025 11:07:57 +0530 Subject: [PATCH] Corrected spelling mistake in service project get list API --- Marco.Pms.Services/Service/ServiceProjectService.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Marco.Pms.Services/Service/ServiceProjectService.cs b/Marco.Pms.Services/Service/ServiceProjectService.cs index 24d57a2..195f266 100644 --- a/Marco.Pms.Services/Service/ServiceProjectService.cs +++ b/Marco.Pms.Services/Service/ServiceProjectService.cs @@ -114,11 +114,11 @@ namespace Marco.Pms.Services.Service // Fetch projects for the requested page with ordering by newest var serviceProjects = await serviceProjectQuery .OrderBy(p => - p.ProjectStatusId == ActiveProjectStatusId ? 0 : - p.ProjectStatusId == InProgressProjectStatusId ? 1 : - p.ProjectStatusId == OnHoldProjectStatusId ? 2 : - p.ProjectStatusId == InActiveProjectStatusId ? 3 : - p.ProjectStatusId == CompletedProjectStatusId ? 4 : 5) + p.StatusId == ActiveProjectStatusId ? 0 : + p.StatusId == InProgressProjectStatusId ? 1 : + p.StatusId == OnHoldProjectStatusId ? 2 : + p.StatusId == InActiveProjectStatusId ? 3 : + p.StatusId == CompletedProjectStatusId ? 4 : 5) .ThenBy(p => p.ShortName) .Skip((pageNumber - 1) * pageSize) .Take(pageSize)