예제 #1
0
        public IEnumerable <LoggerDTO> GetLoggers()
        {
            var loggers            = _loggerRepository.GetLoggers();
            IList <LoggerDTO> list = new List <LoggerDTO>();

            foreach (var logger in loggers)
            {
                list.Add(_loggerMapper.GetLoggerDTOFromLogger(logger));
            }

            return(list);
        }