Esempio n. 1
0
        public async Task<List<LdapEmployee>> SearchWithFilter(string filter, IEnumerable<int> employeeIds = null, string path = "")
        {
            try
            {
                return await _ldapService.Search<LdapEmployee>(filter, employeeIds, path);
            }
            catch (Exception ex)
            {
                _logger.LogError($"Error searching for employee with filter {filter}: {ex.Message}");
                return new List<LdapEmployee>();
            }

        }