public ActionResult Edit(UserType obj) { bool isOk = Update<UserType>(obj); return Json(new { IsSuccess = isOk }); }
public JsonResult Create(UserType obj) { bool isOk = Save(obj); return Json(new { IsSuccess = isOk }); }