Ejemplo n.º 1
0
        public List <ProjectCompletionOdds> Post([FromBody] List <PertInput> pertInputs)
        {
            //Todo: Some creational pattern here?
            distributionManager = new DistributionManager(pertInputs);
            List <ProjectCompletionOdds> projOdds = distributionManager.GetProjectCompletionOdds();

            return(projOdds);
        }
Ejemplo n.º 2
0
        public void ProjectOdds()
        {
            List <ProjectCompletionOdds> projOdds = distributionManager.GetProjectCompletionOdds();

            Assert.True(projOdds.Any());
        }