예제 #1
0
        public void GetUserTest(string id, bool expected)
        {
            var      secRepo    = new SecurityHandlerProd();
            UserView resultUser = secRepo.GetUser(id);
            bool     actual     = (resultUser != null);

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
 public JObject GetUserByID(string userID)
 {
     return(UserToJSON(_secRepo.GetUser(userID)));
 }