private ICollection<ProcessNodeInstance> BuildProcessNodeInstance(Process process)
        {
            var processNodes = this.HibernateClass.GetProcessNodesByProcessID(process.ID);

            return processNodes.Select(processNode => new ProcessNodeInstance()
            {
                ID = Guid.NewGuid()
            }).ToList();
        }
        public object Start(Process process, User creator, string processInstanceName)
        {
            this.HibernateClass.NewProcessInstance(this.BuildProcessInstance(process, processInstanceName));

            return new object();
        }
        private ProcessInstance BuildProcessInstance(Process process, string processInstanceName)
        {
            var processNodeInstances = new List<ProcessNodeInstance>();

            var processInstance = new ProcessInstance()
            {
                ProcessInstanceName = processInstanceName
            };
            return processInstance;
        }