private void Finished(Flow flow) { flow.Finished(); _flowRepository.Save(flow); }
private void DealSingleFlowNode(Flow flow, MessageContainer messageContainer) { if (!flow.IsCompleted()) return; flow.Finished(); _flowRepository.Save(flow); }