corrected the distinct by error
This commit is contained in:
parent
186486d934
commit
7e20807325
@ -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
|
||||
var response = organizations
|
||||
|
Loading…
x
Reference in New Issue
Block a user