corrected the distinct by error

This commit is contained in:
ashutosh.nehete 2025-10-11 15:57:53 +05:30
parent 186486d934
commit 7e20807325

View File

@ -2899,7 +2899,7 @@ namespace Marco.Pms.Services.Service
} }
} }
organizations = organizations.Distinct().ToList(); organizations = organizations.DistinctBy(o => o.Id).ToList();
// Filter and map the data to the desired view model // Filter and map the data to the desired view model
var response = organizations var response = organizations