コード例 #1
0
        public async Task <IActionResult> ReadFooterElementViewAsync(long elementId, [FromQuery] long pageId)
        {
            PageContext context = new PageContext {
                PageId = pageId
            };
            IElementView <FooterElementSettings, FooterElementContent> view = await _footerElementService.ReadElementViewAsync(TenantId, elementId, context);

            if (view == null)
            {
                return(NotFound());
            }
            return(Ok(view));
        }