private async Task <AccountState> GetAccountStateAsync(AccountInfoEntity accountInfo)
 {
     return(accountInfo != null
         ? await accountStorage.IsBannedAccountAsync(accountInfo.id)
             ? AccountState.LOGIN_BANNED
             : AccountState.LOGIN_OK
         : AccountState.LOGIN_UNKNOWN_ACCOUNT);
 }