Пример #1
0
        public async Task <IActionResult> GetByTypeIdAsync(int id)
        {
            var pages = await _pageServices.GetByPageTypeAsync(id);

            if (pages.Count() >= 1)
            {
                return(Ok(pages));
            }
            return(Ok());
        }