Пример #1
0
        /// \brief This method GetEmployees
        /// \details <b>Details</b>
        /// This method will get employee info
        /// \return  void
        public List <Employee> GetEmployees(string pattern)
        {
            var employeeList = new EmployeeBizDAO().GetEmployees(pattern);

            return(employeeList);
        }
Пример #2
0
        /// \brief This method GetById
        /// \details <b>Details</b>
        /// This method will get element by ID
        /// \return  void
        public Employee GetById(string employeeID)
        {
            var employees = new EmployeeBizDAO().GetEmployees(employeeID);

            return(employees[0]);
        }