Asynchronous method 'anonymous' should not return void
Can someone helps me resolve this problem I tried everything.
I usually know how to resolve that problem but not with anonymous method
public DelegateCommand EnterButton { get; set; }
public StartPageViewModel()
{
Title = "title_black.png";
PasswordPlaceholder = "Lozinka";
EnterButton = new DelegateCommand( async () => { await enterButtonClicked();}); //<--- Here I am getting that warning
}
public async Task enterButtonClicked()
{
}