public void GetUserTest(string id, bool expected) { var secRepo = new SecurityHandlerProd(); UserView resultUser = secRepo.GetUser(id); bool actual = (resultUser != null); Assert.AreEqual(expected, actual); }
public JObject GetUserByID(string userID) { return(UserToJSON(_secRepo.GetUser(userID))); }