Exemple #1
0
 public int AdminUserVerification(string uname, int verified)
 {
     try
     {
         parameters = new List <IDbDataParameter>();
         parameters.Add(dbManager.CreateParameter("@uname", uname, DbType.String));
         parameters.Add(dbManager.CreateParameter("@checked", verified, DbType.Int32));
         return(dbManager.Update("AdminUserVerfication", CommandType.StoredProcedure, parameters.ToArray()));
     }
     catch (Exception)
     {
         throw;
     }
 }