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); }
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); }