public SaveProcessFile ( |
||
entity | ||
return | void |
public ResponseResult SaveProcessFile(ProcessFileEntity entity) { var result = ResponseResult.Default(); try { var wfService = new WorkflowService(); wfService.SaveProcessFile(entity); result = ResponseResult.Success(); } catch (System.Exception ex) { result = ResponseResult<ProcessFileEntity>.Error( string.Format("保存流程XML文件失败!{0}", ex.Message) ); } return result; }