public ActionResult _AddLevelRole(string RoleName, int IdLevelRole, string IsActive) { var db = new RoleBusiness(); Role item = new Role(); item.RoleName = RoleName; item.IsActive = bool.Parse(IsActive); item.Level = IdLevelRole; var result = db.AddRoleSystem(item); return(Json(new { result }, JsonRequestBehavior.AllowGet)); }