예제 #1
0
        /// <summary>
        /// Daniel brown
        /// Created 02/08/2017
        ///
        /// Retrieve a single employee
        /// </summary>
        /// <param name="employeeID">The Id of the employee to be retrieved</param>
        /// <returns>A single Employee Object</returns>
        public Employee RetrieveEmployee(int employeeID)
        {
            Employee employee = null;

            try
            {
                employee = EmployeeAccessor.RetrieveEmployee(employeeID);
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(employee);
        }