Exemplo n.º 1
0
 public DataTable CheckUsername(dynamic username)
 {
     try
     {
         parameters = new List <IDbDataParameter>();
         parameters.Add(dbManager.CreateParameter("@uname", username, DbType.String));
         return(dbManager.GetDataTable("UserNameExists", CommandType.StoredProcedure, parameters.ToArray()));
     }
     catch (Exception)
     {
         throw;
     }
 }