public JsonResult SolutionSave(VFvSolution m) { var sd = GetSolverData(); ObjectMapperManager.DefaultInstance.GetMapper<VFvSolution, FvSolutionData>().Map(m, sd.FvSolution); SetSolverData(sd); return Json("OK"); }
public ActionResult Solution() { ShortTitle = "Solution"; var m = new VFvSolution(); var sd = GetSolverData(); ObjectMapperManager.DefaultInstance.GetMapper<FvSolutionData, VFvSolution>().Map(sd.FvSolution, m); return View(m); }