public JsonResult New(sh_level model) { bool success = true; try { Context.sh_levels.InsertOnSubmit(model); Context.SubmitChanges(); } catch { success = false; } return Json(new { success = success, results = model }); }
partial void Deletesh_level(sh_level instance);
partial void Updatesh_level(sh_level instance);
partial void Insertsh_level(sh_level instance);