public IActionResult GetAll()
        {
            var users = _configInfoService.GetAll();

            return(Ok(users));
        }
        public async Task <IActionResult> GetAll()
        {
            var adminConfigs = await _adminConfigService.GetAll();

            return(Ok(_mapper.Map <IEnumerable <AdminConfigResultDto> >(adminConfigs)));
        }