public bool checkIfRealPerson(Customer customer)
        {
            MernisServiceReference.KPSPublicSoapClient client = new MernisServiceReference.KPSPublicSoapClient();

            return(client.TCKimlikNoDogrula(Convert.ToInt64(customer.NationalityId), customer.FirstName.ToUpper()
                                            , customer.LastName.ToUpper(), customer.DateofBirth.Year));
        }
Пример #2
0
 public bool IsRealPerson(Customer customer)
 {
     MernisServiceReference.KPSPublicSoapClient soapClient = new MernisServiceReference.KPSPublicSoapClient();
     return(soapClient.TCKimlikNoDogrula(Convert.ToInt64(customer.IdentificationId),
                                         customer.Name.ToUpper(),
                                         customer.Surname.ToUpper(),
                                         customer.Birthday.Year));
 }
Пример #3
0
 public bool CheckPerson(Gamer gamer)
 {
     MernisServiceReference.KPSPublicSoapClient soapClient = new MernisServiceReference.KPSPublicSoapClient();
     return(soapClient.TCKimlikNoDogrula(long.Parse(gamer.Identity), gamer.FirstName.ToUpper(), gamer.LastName.ToUpper(), gamer.BirthYear));
 }
Пример #4
0
 public bool CheckIfRealPerson(Customer customer)
 {
     MernisServiceReference.KPSPublicSoapClient kPSPublicSoap = new MernisServiceReference.KPSPublicSoapClient();
     return(kPSPublicSoap.TCKimlikNoDogrula(Convert.ToInt64(customer.NationalId), customer.FirstName.ToUpper(), customer.SecondName.ToUpper(), customer.BirthDate.Year));
 }
        public bool Validate(User user)
        {
            MernisServiceReference.KPSPublicSoapClient client = new MernisServiceReference.KPSPublicSoapClient();

            return(client.TCKimlikNoDogrula(user.IDNumber, user.FirstName.ToUpper(), user.LastName.ToUpper(), user.DateOfBirth.Year)); //bool döner
        }