示例#1
0
        public async Task <IActionResult> GetUsersForSkill(int skillId)
        {
            var userList = await _repo.GetUsersWithSkill(skillId);

            if (userList == null)
            {
                return(BadRequest("No user has that skill yet"));
            }

            return(Ok(userList));
        }