public ActionResult _AddAccountUsingRole(int idAccount, int idRole) { var db = new RoleBusiness(); MenuPermission item = new MenuPermission(); item.RoleId = idRole; item.UserId = idAccount; var result = db.AddAccount_Menu_UsingRole(item); return(Json(new { result }, JsonRequestBehavior.AllowGet)); }