From a9b4b79ee4585eae2646595a47e9a38e2a0deb63 Mon Sep 17 00:00:00 2001 From: "ashutosh.nehete" Date: Sat, 27 Sep 2025 10:33:42 +0530 Subject: [PATCH] Added the service ID and Organization ID in get project allocation API --- Marco.Pms.Services/Service/ProjectServices.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marco.Pms.Services/Service/ProjectServices.cs b/Marco.Pms.Services/Service/ProjectServices.cs index f96dabf..324c282 100644 --- a/Marco.Pms.Services/Service/ProjectServices.cs +++ b/Marco.Pms.Services/Service/ProjectServices.cs @@ -753,8 +753,10 @@ namespace Marco.Pms.Services.Service LastName = pa.Employee.LastName, MiddleName = pa.Employee.MiddleName, + OrganizationId = pa.Employee.OrganizationId, OrganizationName = pa.Employee.Organization!.Name, + ServiceId = pa.ServiceId, ServiceName = pa.Service!.Name, // Simplified JobRoleId logic: Use the allocation's role if it exists, otherwise fall back to the employee's default role.