Exemple #1
0
 public void RemoveSkill(Skill skill)
 {
     UserSkills.Remove(UserSkills.FirstOrDefault(x => x.Skill_Id == skill.Id)); 
     Skills.Remove(skill);
 }
Exemple #2
0
 public void AddSkill(Skill skill)
 {
     UserSkills.Add(UserSkill.Create(this, skill.Id));
     Skills.Add(skill);
 }