Пример #1
0
        public bool CheckPerson(Gamer gamer)
        {
            KPSPublicSoapClient client = new KPSPublicSoapClient(KPSPublicSoapClient.EndpointConfiguration.KPSPublicSoap);

            return(client.TCKimlikNoDogrulaAsync(
                       new TCKimlikNoDogrulaRequest
                           (new TCKimlikNoDogrulaRequestBody(Convert.ToInt64(gamer.NationalityId), gamer.FirstName, gamer.LastName, gamer.DateOfBirth.Year)))
                   .Result.Body.TCKimlikNoDogrulaResult);
        }
        public bool Validate(User user)
        {
            KPSPublicSoapClient client = new KPSPublicSoapClient(KPSPublicSoapClient.EndpointConfiguration.KPSPublicSoap);

            return(client.TCKimlikNoDogrulaAsync
                       (new TCKimlikNoDogrulaRequest
                           (new TCKimlikNoDogrulaRequestBody(user.IdentityNumber,
                                                             user.FirstName.ToUpper(), user.LastName.ToUpper(), user.BirthYear))).Result.Body.TCKimlikNoDogrulaResult);
        }
Пример #3
0
 public bool Validate(Gamer gamer)
 {
     MernisServiceReference.KPSPublicSoapClient client = new KPSPublicSoapClient
                                                             (KPSPublicSoapClient.EndpointConfiguration.KPSPublicSoap);
     return(client.TCKimlikNoDogrulaAsync
                (new TCKimlikNoDogrulaRequest
                    (new TCKimlikNoDogrulaRequestBody(Convert.ToInt64(gamer.IdentityNumber),
                                                      gamer.FirstName.ToUpper(),
                                                      gamer.LastName.ToUpper(), gamer.DateOfBirth.Year))).Result.Body.TCKimlikNoDogrulaResult);
 }
Пример #4
0
        public bool CheckIfRealPerson(Gamer gamer)
        {
            KPSPublicSoapClient kPSPublicSoapClient = new KPSPublicSoapClient(KPSPublicSoapClient.EndpointConfiguration.KPSPublicSoap12);
            var result = kPSPublicSoapClient.TCKimlikNoDogrulaAsync(
                Convert.ToInt64(gamer.NationalityId),
                gamer.FirstName.ToUpper(),
                gamer.LastName.ToUpper(),
                gamer.DateOfBirth.Year);

            return(result.Result.Body.TCKimlikNoDogrulaResult);
        }
Пример #5
0
        public bool ChechIsRealPerson(Gamer gamer)
        {
            KPSPublicSoapClient client = new KPSPublicSoapClient();

            return(client.TCKimlikNoDogrulaAsync(gamer.NationalityId, gamer.FirstName.ToUpper(), gamer.LastName.ToUpper(), gamer.DateOfBirth.Year));
        }
Пример #6
0
        public bool CheckIfRealPerson(Player player)
        {
            KPSPublicSoapClient client = new KPSPublicSoapClient(KPSPublicSoapClient.EndpointConfiguration.KPSPublicSoap);

            return(client.TCKimlikNoDogrulaAsync(player.nationalityId, player.firstName.ToUpper(), player.lastName.ToUpper(), player.dateYear).Result.Body.TCKimlikNoDogrulaResult);
        }
Пример #7
0
        public bool Validate(Gamer gamer)
        {
            KPSPublicSoapClient client = new KPSPublicSoapClient(KPSPublicSoapClient.EndpointConfiguration.KPSPublicSoap);

            return(client.TCKimlikNoDogrulaAsync(gamer.NationalityId, gamer.FirstName.ToUpper(), gamer.LastName.ToUpper(), gamer.BirthDate.Year).Result.Body.TCKimlikNoDogrulaResult);
        }