Пример #1
0
        public async Task <IActionResult> DeleteWorkFlowInstance([FromQuery] int id)
        {
            var isSuccess = await _workFlowInstanceService.DeleteWorkFlowInstance(id);

            if (!isSuccess)
            {
                return(this.BadRequestResult("删除工作流失败!"));
            }
            return(Ok());
        }