コード例 #1
0
        public async Task Load_Skill_Categories_Test()
        {
            string login = "******";

            List <SkillData> result = await skillService.LoadCategories(login);

            Assert.AreNotEqual(0, result.Count);
        }
コード例 #2
0
        public async Task <IEnumerable <SkillData> > LoadCategories()
        {
            IEnumerable <SkillData> result = await _service.LoadCategories(User.Identity.Name);

            return(result.Distinct(new SkillCategoryComparer()));
        }