Пример #1
0
 public ActionResult Edit(Sys_RoleTemplate entity)
 {
     ErrorResult result = new Sys_RoleTemplateDAL().Update(entity);
     return Json(result);
 }
Пример #2
0
 public ActionResult Add(Sys_RoleTemplate entity)
 {
     ErrorResult result = new Sys_RoleTemplateDAL().Insert((entity));
     return Json(result);
 }