示例#1
0
        public bool AddNewEmployee(Employee employee)
        {
           
                bool isAdded;

                try
                {
                    isAdded = _userAccessor.AddNewEmployee(employee);
                }
                catch (Exception ex)
                {
                    throw new ApplicationException("Failed to Add Employee", ex);
                }
                return isAdded;
            
        }