public async Task <IActionResult> GetAllDictionaries()
        {
            var dictionaries = await _service.FindAllDictionaries(false);

            var dictionariesDto = _mapper.Map <IEnumerable <DictionaryGetDto> >(dictionaries);

            return(Ok(dictionariesDto));
        }
Exemple #2
0
        public IActionResult GetAllDictionaries()
        {
            var sections = _service.FindAllDictionaries(false);

            return(Ok(sections));
        }