public HttpResponseMessage CancelProcess([FromUri] int jobId)
        {
            var controller   = new BaseController();
            var cancelStatus = controller.CancelJob(this.UserInfo.IsSuperUser ? -1 : this.PortalSettings.PortalId, jobId);

            return(this.Request.CreateResponse(
                       cancelStatus ? HttpStatusCode.OK : HttpStatusCode.BadRequest, new { success = cancelStatus }));
        }