public ActionResult SetMenu(string Menus, int RoleID) { //if (string.IsNullOrEmpty(Menus)) //{ // return ErrorNotification("please select a menu!"); //} ServiceRoleMenu.SetRoleMenu(RoleID, Menus); Session.Clear(); return(SuccessNotification("OK")); }