public void GetAllUsersTest() { var secRepo = new SecurityHandlerProd(); var result = secRepo.GetAllUsers(); Assert.IsNotEmpty(result); }
public IEnumerable <JObject> GetUsers() { IEnumerable <UserView> users = _secRepo.GetAllUsers(); foreach (UserView user in users) { yield return(UserToJSON(user)); } }