private void cancelJob() { int jobId = int.Parse(txtSearch.Text); Facade.IJob facJob = new Facade.Job(); facJob.CancelJob(jobId, false, "Job merged to " + JobID.ToString(), this.User.Identity.Name); }