Exemple #1
0
        public IEnumerable <Employee> ListEmployeesByPosition(String position)
        {
            Dictionary <String, String> dict = new Dictionary <String, String> {
                { ConstOfStoreProcedures.PARAM_POS_FOR_PROC_GET_EMPLOYEES_BY_POSITION,
                  position }
            };
            var param = SqlParametrHelper.FillSqlParametrs(dict);

            return(EmployeeConvertor.FromDTO(dataSetExecutor.Get(ConstOfStoreProcedures.PROC_GET_EMPLOYEES_BY_POSITION, param)));
        }