コード例 #1
0
        public async Task <IActionResult> TranslationUpdate([FromBody] CmsPostWebHookApiModel model)
        {
            _cmsApiProxy.RemoveTranslationsCache();
            var translations = await _cmsApiProxy.GetTranslations();

            _logger.LogInformation("Cleared and renewed cache for {Count} translations.", translations.Count);

            return(Ok());
        }