Example #1
0
        public int DeletePreviousSimulation(AccessmentSimulation A)
        {
            spdata spdata  = new spdata();
            int    results = spdata.DeleteSimulandResult(A.Simulationid);

            //}
            return(results);
        }
Example #2
0
        public List <Dac.StatsSummary> ExecuteSimulAsync(AccessmentSimulation objSimul)
        {
            spdata spdata = new spdata();
            List <Dac.StatsSummary> stats;

            stats = spdata.ExecuteSimnulation(objSimul.Simulationid, (long)objSimul.Planid, (long)objSimul.Tierplanid, 0);

            return(stats);
        }
Example #3
0
        public List <Dac.StatsSummary> CreateSimulAsync(AccessmentSimulation objSimul)
        {
            spdata spdata = new spdata();
            List <Dac.StatsSummary> stats;

            _context.AccessmentSimulation.Add(objSimul);
            _context.SaveChanges();


            stats = spdata.ExecuteSimnulation(objSimul.Simulationid, (long)objSimul.Planid, (long)objSimul.Tierplanid, 0);

            return(stats);
        }