public bool checkIfRealPerson(Person person)
        {
            bool check = false;

            MernisServiceReference.KPSPublicSoapClient client = new MernisServiceReference.KPSPublicSoapClient();
            check = Convert.ToBoolean(client.TCKimlikNoDogrulaAsync(person.NaturalId, person.FirstName.ToUpper(),
                                                                    person.LastName.ToUpper(), person.YearOfBirth));
            return(check);
        }
示例#2
0
        public bool CheckPerson(Person person)
        {
            MernisServiceReference.KPSPublicSoapClient client = new MernisServiceReference.KPSPublicSoapClient(MernisServiceReference.
                                                                                                               KPSPublicSoapClient.EndpointConfiguration.KPSPublicSoap);


            return(client.TCKimlikNoDogrulaAsync(new MernisServiceReference.TCKimlikNoDogrulaRequest
                                                     (new MernisServiceReference.TCKimlikNoDogrulaRequestBody(123, "ENGİN", "DEMİROĞ", 1985))).Result.Body.TCKimlikNoDogrulaResult);
        }
        public bool CheckIfRealPerson(Gamer gamer)
        {
            MernisServiceReference.KPSPublicSoapClient client = new MernisServiceReference.KPSPublicSoapClient(MernisServiceReference.KPSPublicSoapClient.EndpointConfiguration.KPSPublicSoap);

            return(client.TCKimlikNoDogrulaAsync(new MernisServiceReference.TCKimlikNoDogrulaRequest(new MernisServiceReference.TCKimlikNoDogrulaRequestBody
                                                                                                         (gamer.NationalityId, gamer.FirstName.ToUpper(), gamer.LastName.ToUpper(), gamer.DateOfBirth.Year))).Result.Body.TCKimlikNoDogrulaResult);

            return(true);
        }
 public bool CheckIfRealPerson(Users user)
 {
     MernisServiceReference.KPSPublicSoapClient client = new MernisServiceReference.KPSPublicSoapClient();
     return(client.TCKimlikNoDogrulaAsync(user.NationalityId, user.FirstName, user.LastName, user.DateOfBirth.Year));
 }
示例#5
0
 public bool CheckIfRealPerson(Customer customer)
 {
     MernisServiceReference.KPSPublicSoapClient client = new MernisServiceReference.KPSPublicSoapClient();
     return(client.TCKimlikNoDogrulaAsync(customer.NationalityId, customer.FirstName.ToUpper(), customer.LastName.ToUpper(), customer.DateOfBirth));
 }