Exemplo n.º 1
0
        public JsonResult TimeSave(VControlDict m)
        {
            var sd = GetSolverData();

            ObjectMapperManager.DefaultInstance.GetMapper <VControlDict, ControlDictData>().Map(m, sd.ControlDict);
            SetSolverData(sd);
            return(Json("OK"));
        }
Exemplo n.º 2
0
        public ActionResult Time()
        {
            ShortTitle = "Time";
            var m  = new VControlDict();
            var sd = GetSolverData();

            ObjectMapperManager.DefaultInstance.GetMapper <ControlDictData, VControlDict>().Map(sd.ControlDict, m);
            return(View(m));
        }