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