Пример #1
0
        public async Task <ActionResult <Faq> > Details(string id)
        {
            var faqDetail = await _faqService.GetAsync(id, Constants.EntityKey.FAQ_ID);

            if (faqDetail == null)
            {
                _logger.LogInformation("Not found");
                return(NotFound());
            }
            return(View(faqDetail));
        }