public ActionResult MakeNewGraph() { ComputationPoints comp = new ComputationPoints(points); points = comp.Compute(); return(View("Index", points)); }
public ActionResult Index() { TakeDataFromFile takeData = new TakeDataFromFile(Server.MapPath("~/App_Data/input.txt")); points = takeData.TakePoints(); ComputationPoints comp = new ComputationPoints(points); points = takeData.TakePoints(); points = comp.Compute(); return(View(points)); }