public async Task Load_Skill_Categories_Test() { string login = "******"; List <SkillData> result = await skillService.LoadCategories(login); Assert.AreNotEqual(0, result.Count); }
public async Task <IEnumerable <SkillData> > LoadCategories() { IEnumerable <SkillData> result = await _service.LoadCategories(User.Identity.Name); return(result.Distinct(new SkillCategoryComparer())); }