public async Task <IActionResult> Get(int id) { var page = await _pageServices.GetByIdAsync(id); if (page != null) { return(Ok(page)); } return(Ok()); }
public async Task <IActionResult> Get(int id) { var page = await _pageServices.GetByIdAsync(id); if (page != null) { return(Ok(page)); } return(Ok()); }