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