public async Task <IActionResult> DeactivateScript(int id, CancellationToken cancellationToken) { if (id <= 0) { return(BadRequest()); } return(Ok(await _service.Deactivate(id, cancellationToken))); }