예제 #1
0
        public async Task <IActionResult> GetByCompanyAsync(int companyId)
        {
            var pages = await _pageServices.GetByCompanyIdAsync(companyId);

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