public static AdhaarXOTP GetDetails(int id)
        {
            AdhaarXOTP info = null;

            info = BaseDataAccess.GetRecords <AdhaarXOTP>(String.Format("select * from AdhaarXOTP where Id='{0}' ", id));
            return(info);
        }
 public static bool Delete(AdhaarXOTP info)
 {
     return(BaseDataAccess.ExecuteSQL(String.Format("delete from AdhaarXOTP where Id='{0}' ", info.Id)));
 }
 public static bool Update(AdhaarXOTP info)
 {
     return(BaseDataAccess.ExecuteSQL(String.Format("update AdhaarXOTP set AdhaarNumber='{0}', OTP='{1}' where Id='{2}' ", info.AdhaarNumber, info.OTP, info.Id)));
 }
 public static bool Add(AdhaarXOTP info)
 {
     return(BaseDataAccess.ExecuteSQL(String.Format("insert into AdhaarXOTP(AdhaarNumber, OTP) values('{0}', '{1}') ", info.AdhaarNumber, info.OTP)));
 }
 /// <summary>
 /// This Function is used to Delete previously added AdhaarXOTP from database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Delete(AdhaarXOTP info)
 {
     return(AdharXOTPDA.Delete(info));
 }
 /// <summary>
 /// This Function is used to Update previously added AdharXOTP in database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Update(AdhaarXOTP info)
 {
     return(AdharXOTPDA.Update(info));
 }
 /// <summary>
 /// This Function is used to add new AdharXOTP to database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Add(AdhaarXOTP info)
 {
     return(AdharXOTPDA.Add(info));
 }