示例#1
0
        public void GetAllUsersTest()
        {
            var secRepo = new SecurityHandlerProd();
            var result  = secRepo.GetAllUsers();

            Assert.IsNotEmpty(result);
        }
示例#2
0
        public IEnumerable <JObject> GetUsers()
        {
            IEnumerable <UserView> users = _secRepo.GetAllUsers();

            foreach (UserView user in users)
            {
                yield return(UserToJSON(user));
            }
        }