public async Task Load_Skills_Test(string category) { SkillData data = new SkillData() { Category = category, Date = "01.01.2021 00:00:00" }; string login = "******"; List <SkillData> result = await skillService.LoadSkills(data, login); Assert.AreNotEqual(0, result.Count); }
public async Task <List <SkillData> > LoadSkills([FromBody] SkillData data) { List <SkillData> skills = await _service.LoadSkills(data, User.Identity.Name); return(skills); }