public SkillSet GetLastSkill() { SkillsController skillController = new SkillsController(); IList <SkillSet> skills = skillController.GetAllSkills(); return(skills != null ? skills[skills.Count - 1] : null); }
public void GetAllSkillsTest() { SkillsController skillcontroller = new SkillsController(); IList <SkillSet> skills = skillcontroller.GetAllSkills(); Assert.IsNotNull(skills); }