public bool VerifyCard(string authtoken,string cardnumber, int cvvNumber,DateTime dateOfExpiry) { bool flag = false; var dbcheck = new SDProject(); string returnValue= dbcheck.SP_CheckAuthenticateTranscation(authtoken, cardnumber, cvvNumber, dateOfExpiry).FirstOrDefault(); if (returnValue=="Passed") { flag = true; } return flag; }
public bool VerifyCard(string authtoken, string cardnumber, int cvvNumber, DateTime dateOfExpiry) { bool flag = false; var dbcheck = new SDProject(); string returnValue = dbcheck.SP_CheckAuthenticateTranscation(authtoken, cardnumber, cvvNumber, dateOfExpiry).FirstOrDefault(); if (returnValue == "Passed") { flag = true; } return(flag); }