Is this the right way to call a method by passing the parameters?
LogInButton.Clicked += (sender, ea) => {
new UserRepository().OnLogInButtonClicked(loginInput.Text,passwordInput.Text);
};
Is this the right way to call a method by passing the parameters?
LogInButton.Clicked += (sender, ea) => {
new UserRepository().OnLogInButtonClicked(loginInput.Text,passwordInput.Text);
};