public ActionResult TransportProperties() { ShortTitle = "Transport Properties"; var m = new VTransportProperties(); var sd = GetSolverData(); ObjectMapperManager.DefaultInstance.GetMapper<TransportPropertiesData, VTransportProperties>().Map(sd.TransportProperties, m); return View(m); }
public JsonResult TransportPropertiesSave(VTransportProperties m) { var sd = GetSolverData(); ObjectMapperManager.DefaultInstance.GetMapper<VTransportProperties, TransportPropertiesData>().Map(m, sd.TransportProperties); SetSolverData(sd); return Json("OK"); }