Exemplo n.º 1
0
 public static void RemoveSkill(string skill, int userid)
 {
     //Call Skill class to remove
     Skill s = new Skill(userid, skill);
     s.Remove();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Removes a skill from the main user
 /// </summary>
 /// <param name="name">The name of the skill</param>
 /// <param name="message">The message of the error</param>
 /// <returns>Success</returns>
 public bool RemoveSkill(string name, out string message)
 {
     Skill s = new Skill(MainUser.ID, name);
     s.Remove();
     message = "Skill removed";
     return true;
 }