コード例 #1
0
        public long StartNewEstimationProcess()
        {
            var currentEstimationProcess = GetCurrentEstimationProcess();

            if (currentEstimationProcess != null)
            {
                return(currentEstimationProcess.Id);
            }

            var process = EstimationProcess.StartNew();

            _processRepository.Create(process);

            return(process.Id);
        }
コード例 #2
0
 public EstimationProcess GetCurrentEstimationProcess()
 {
     return(EstimationProcess.GetInstance());
 }