public async Task Login(string username, string password) { _view.Busy(true); var result = await _accountService.Login(username, password); _view.Busy(false); if (result) { _view.GoToMain(); } else { _view.ShowUserIsNotAllowed(); } }