aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Models/Identity/User/UpdateUserServiceModel.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-01-20 18:07:58 +0200
committertranstrike <transtrike@gmail.com>2021-01-20 18:07:58 +0200
commit8179af787a7bf375753a178b89111a91d84a8bb8 (patch)
treeeb2dbeb52e0875ddc06d5e6ca1bd97ef8d941d4e /src/DevHive.Services/Models/Identity/User/UpdateUserServiceModel.cs
parentaa4f7bdd9a2df09fc47e82c2b85fb7647203ba8d (diff)
downloadDevHive-8179af787a7bf375753a178b89111a91d84a8bb8.tar
DevHive-8179af787a7bf375753a178b89111a91d84a8bb8.tar.gz
DevHive-8179af787a7bf375753a178b89111a91d84a8bb8.zip
Changed List to HashSet for "no duplicates" scenario
Diffstat (limited to 'src/DevHive.Services/Models/Identity/User/UpdateUserServiceModel.cs')
-rw-r--r--src/DevHive.Services/Models/Identity/User/UpdateUserServiceModel.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DevHive.Services/Models/Identity/User/UpdateUserServiceModel.cs b/src/DevHive.Services/Models/Identity/User/UpdateUserServiceModel.cs
index 5b5a178..87af43a 100644
--- a/src/DevHive.Services/Models/Identity/User/UpdateUserServiceModel.cs
+++ b/src/DevHive.Services/Models/Identity/User/UpdateUserServiceModel.cs
@@ -7,13 +7,13 @@ namespace DevHive.Services.Models.Identity.User
{
public Guid Id { get; set; }
- public IList<UpdateUserCollectionServiceModel> Roles { get; set; } = new List<UpdateUserCollectionServiceModel>();
+ public HashSet<UpdateUserCollectionServiceModel> Roles { get; set; } = new HashSet<UpdateUserCollectionServiceModel>();
- public IList<UpdateUserCollectionServiceModel> Friends { get; set; } = new List<UpdateUserCollectionServiceModel>();
+ public HashSet<UpdateUserCollectionServiceModel> Friends { get; set; } = new HashSet<UpdateUserCollectionServiceModel>();
- public IList<UpdateUserCollectionServiceModel> Languages { get; set; } = new List<UpdateUserCollectionServiceModel>();
+ public HashSet<UpdateUserCollectionServiceModel> Languages { get; set; } = new HashSet<UpdateUserCollectionServiceModel>();
- public IList<UpdateUserCollectionServiceModel> Technologies { get; set; } = new List<UpdateUserCollectionServiceModel>();
+ public HashSet<UpdateUserCollectionServiceModel> Technologies { get; set; } = new HashSet<UpdateUserCollectionServiceModel>();
}
}