public ActionResult Configuration(FormCollection frmCollection) { var createdBy = Convert.ToInt64(CookieHelper.GetCookie(CookieName.UserMasterId)); var userRoleId = RoleManagement.ConfigureRoleTransaction(frmCollection, createdBy); //Create Current Menu Session.Remove("Menu"); //START | Bind A New Menu HERE | Add | Suchit Khunt | 30052016 var roleId = Convert.ToInt64(CookieHelper.GetCookie(CookieName.RoleMasterId)); //If We Found owner Then We Return ZERO.. Coz If Role ID is ZERO then it returns every Links if (roleId == (int)EnumList.Roles.Owner) { roleId = 0; } var menu = RoleManagement.GetMenu(roleId); Session["Menu"] = menu; //END | Bind A New Menu HERE | Add | Suchit Khunt | 30052016 //return RedirectToAction("ConfigureRole"); TempData["Success"] = "Configuration updated successfully"; return(RedirectToAction("Configuration", "Role", new { id = userRoleId })); }