public void LoginTest1() { ILogin user = new LoginDto() { UserId = 18, Email = "*****@*****.**", Password = "******" }; var result = sut.Login(user); Assert.IsTrue(result); MockConnection.CloseConnection(); }
public bool Login(ILogin user) { return(loginContext.Login(user)); }
public User Login(string username, string password) { return(_context.Login(username, password)); }