Example #1
0
        public IEnumerable <string> Get()
        {
            _identityUserRepository.GetAll();
            // find current page
            // if tenant admin get param
            // get all roles with current tenant
            // filter for rule

            // if resource admin get param
            // get all roles with current resource

            return(new string[] { "value1", "value2" });
        }
Example #2
0
 public IQueryable <IdentityUser> GetUsers()
 {
     return(_userRepository.GetAll().AsQueryable());
 }