Пример #1
0
 /// <summary>
 /// Logs a user out--updates logout count.
 /// </summary>
 /// <param name="userID">User id to logout.</param>
 public void logout(string userID)
 {
     dalCustomer = Trade.DALFactory.Customer.Create(Settings.DAL);
     dalCustomer.Open(Settings.TRADEDB_SQL_CONN_STRING);;
     try
     {
         dalCustomer.logOutUser(userID);
         return;
     }
     catch 
     {
         throw;
     }
     finally
     {
         dalCustomer.Close();
     }
 }