public void GetTest()
        {
            var skills = skillsAccess.Get();

            Assert.AreEqual(2, skills.Count);

            Assert.AreEqual("Triangle", skills[0].Name);
            Assert.AreEqual("Vocalist", skills[1].Name);
        }
Exemple #2
0
        public List <Skill> Get()
        {
            var skillAccess = new SkillsAccess();
            var skillsDB    = skillAccess.Get();
            var skill       = new List <Skill>();

            skillsDB.ForEach(s => skill.Add(DBToLogic(s)));

            return(skill);
        }