예제 #1
0
        public IActionResult GetUsers()
        {
            var validUsers = _userContext.GetValidUsersForRoles(VALID_ROLES);

            _logger.LogDebug($"Found {validUsers.Count} users that are in role(s) {string.Join(", ", VALID_ROLES)}");
            return(Ok(validUsers));
        }