public IActionResult ActivePage(string id) { try { var test = _service.ActivePage(id); if (test) { return(Ok(id)); } else { return(BadRequest(id)); } } catch { return(BadRequest(id)); } }