Ejemplo n.º 1
0
        public List <UserDetails> GetUserDetailsByRole(string role)
        {
            var result = _userDetails.GetUserDataById(FilterDefinitionHandler.FilterUserDetailsByRole(role), _userDetailsCollection);

            if (result != null && result.Any())
            {
                return(result);
            }


            return(new List <UserDetails>());
        }