public string resendOtp(string mobileNo) //Want to change in this service as enc and dec algo { string[] uregid = mobileNo.Split('$'); mobileNo = objenc.DecryptInteger(uregid[0], uregid[1]); RegistrationDAL registrationDal = new RegistrationDAL(); string result = registrationDal.resendOTP(mobileNo); if (result != "" && result != CommonCode.WRONG_INPUT.ToString() && result != CommonCode.SQL_ERROR.ToString() && result != CommonCode.ERROR.ToString() && result != CommonCode.WRONG_INPUT.ToString()) { CommonCode commoncode = new CommonCode(); string message = "Dear " + mobileNo + " thanks to Register your Voter Profile in True Voter app. OTP for profile confirmation is " + result + ""; commoncode.SMS(mobileNo, message); return(CommonCode.OK.ToString()); } else { return(WRONG_INPUT.ToString()); } }