public ServiceResponse <LoginResultModel> CheckBeHalfofPassword(string _beHalfOfPassword) { string beHalfOfPassword = _encryptionService.DecryptFromClientData(_beHalfOfPassword); //Client'da şifrelenen Password, DecryptFromClientData ile Decrypt edilir. string beHalfOfKey = _redisCacheService.GetKeyWithBeHalfOfPassword(beHalfOfPassword, out string beHalfofUserId); var beHalfOfToken = _redisCacheService.Get <string>(beHalfOfKey); var loginResultModel = new LoginResultModel { BeHalfOfPassword = beHalfOfPassword, BeHalfOfToken = _encryptionService.EncryptText(beHalfOfToken), BeHalfOfUserId = beHalfofUserId, }; var response = new ServiceResponse <LoginResultModel>(null); response.Entity = loginResultModel; return(response); }