public async Task <IActionResult> GetAllAsync() { var pages = await _pageServices.GetAllAsync(); if (pages.Count() >= 1) { return(Ok(pages)); } return(Ok()); }