예제 #1
0
        public static bool RemoveEmployee(int EmployeeID)
        {
            bool deleted = false;

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