I am making a LogIn Button which when click should call OnLogInButtonClicked in the UserRepo class. But i get the above error.
LogInButton.Clicked += (sender, ea) => {
new UserRepository().OnLogInButtonClicked();
};
My OnLogInButtonClicked method is:
public static Page OnLogInButtonClicked (string email, string password)
{
}