예제 #1
0
        public ActionResult SaveTables(String model)
        {
            JavaScriptSerializer  js;
            List <Services.Table> tables;

            try {
                js     = new JavaScriptSerializer();
                tables = js.Deserialize <List <Services.Table> >(model);

                _floorService.SaveTables(tables, SessionData.floor.id);
            }
            catch (Exception ex) {
                base.Log(ex);
            }
            finally {
            }

            return(Json(SessionData.floor.id));
        }