From 3321d55c73a95553b6d2eb82c0dac1947814ecd2 Mon Sep 17 00:00:00 2001 From: Corentin R <76619184+Koroh63@users.noreply.github.com> Date: Sun, 26 Feb 2023 16:19:45 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9solution=20des=20probl=C3=A8mes=20de=20s?= =?UTF-8?q?kills?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/EntityFramework/ChampionEntity.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/EntityFramework/ChampionEntity.cs b/Sources/EntityFramework/ChampionEntity.cs index 2f859e1..856100a 100644 --- a/Sources/EntityFramework/ChampionEntity.cs +++ b/Sources/EntityFramework/ChampionEntity.cs @@ -28,8 +28,8 @@ namespace EntityFramework [Required] public string Icon { get; set; } - public ImmutableHashSet Skills => skills.ToImmutableHashSet(); - private HashSet skills = new HashSet(); + //public ImmutableHashSet Skills => skills.ToImmutableHashSet(); + //private HashSet skills = new HashSet(); public ChampionEntity(string name,string bio,string icon) { this.Name = name; @@ -43,11 +43,11 @@ namespace EntityFramework } - +/* public bool AddSkill(Skill skill) => skills.Add(skill); public bool RemoveSkill(Skill skill) - => skills.Remove(skill); + => skills.Remove(skill);*/ } }