public ActionResult OnScriptsToRunCanceled(Guid?deploymentId) { if (!deploymentId.HasValue) { return(BadRequest()); } _agentService.CancelDbScriptsSelection(deploymentId.Value); return(Content("OK")); }