public JsonResult TimeSave(VControlDict m) { var sd = GetSolverData(); ObjectMapperManager.DefaultInstance.GetMapper<VControlDict, ControlDictData>().Map(m, sd.ControlDict); SetSolverData(sd); return Json("OK"); }
public ActionResult Time() { ShortTitle = "Time"; var m = new VControlDict(); var sd = GetSolverData(); ObjectMapperManager.DefaultInstance.GetMapper<ControlDictData, VControlDict>().Map(sd.ControlDict, m); return View(m); }