Exemplo n.º 1
0
        public Employee GetEmployeeById(int id)
        {
            EmployeeQuery eq = new EmployeeQuery(contexte);

            return(eq.GetById(id));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Récupérer un employee en base
        /// </summary>
        /// <param name="employeeId">Id de l'employee</param>
        /// <returns>Employee</returns>
        public Employee GetEmployee(int employeeId)
        {
            EmployeeQuery eq = new EmployeeQuery(_context);

            return(eq.GetById(employeeId));
        }