public void TestGet(string userName, string password) { var user = _biz.GetByPassword(userName, password); Assert.IsTrue(user.ID > 0); }
public UserViewModel Get(string userName, string password) { return(_biz.GetByPassword(userName, password)); }