예제 #1
0
        public SkillSet GetLastSkill()
        {
            SkillsController skillController = new SkillsController();
            IList <SkillSet> skills          = skillController.GetAllSkills();

            return(skills != null ? skills[skills.Count - 1] : null);
        }
예제 #2
0
        public void GetAllSkillsTest()
        {
            SkillsController skillcontroller = new SkillsController();
            IList <SkillSet> skills          = skillcontroller.GetAllSkills();

            Assert.IsNotNull(skills);
        }