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