private async Task <bool> CheckAccountExistsAsync()
 {
     return(await authCore.GetAccountIdByLoginAsync(LoginBox.Text) >= 0);
 }
 private async Task <bool> CheckAccountExistsAsync(string login)
 {
     return(await authCore.GetAccountIdByLoginAsync(login) >= 0);
 }