Esempio n. 1
0
        public static bool RemoveUser(int UserID)
        {
            bool deleted = false;

            try
            {
                using (LTS.LTSBase access = new LTS.LTSDC())
                {
                    access.DeleteUser(UserID);
                    deleted = true;
                }
            }
            catch (Exception ex)
            {
            }
            return(deleted);
        }