Ejemplo n.º 1
0
        public JsonResult DeleteProcess(string processInsUid, string comment)
        {
            bool success = _workflowService.DeleteProcess(processInsUid, comment);

            if (success)
            {
                return(Json(ResponseViewModelUtils.Sueecss()));
            }
            else
            {
                return(Json(ResponseViewModelUtils.Failure("该流程不能删除")));
            }
        }