Esempio n. 1
0
        public async Task <IActionResult> GetUsersForTeam(string teamId, [FromQuery] string searchTerm)
        {
            var teamMembers = await usersProvider.GetUsersForTeam(teamId, searchTerm);

            var teamMembersViewModels = mapper.Map <List <PersonViewModel> >(teamMembers);

            return(Ok(teamMembersViewModels));
        }