Пример #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());
 }