Exemplo n.º 1
0
        public async Task <IActionResult> GetSkillsAsync()
        {
            var skills = await _skillService.GetAllSkillsAsync();

            return(Ok(skills));
        }
Exemplo n.º 2
0
        public async Task GetListOfSkillsAsync_ListOfSkillResourcesReturned()
        {
            var returnedSkills = await _service.GetAllSkillsAsync();

            Assert.IsTrue(returnedSkills.SequenceEqual(_skillResources));
        }