Is there a Way to Create a Global ViewBag that can be used in Different Views.
In my application's scenario,
1)I have used a DropDown for Company that is used into _Layout.cshtml
page.
2) For that Dropdown I am passing the Value by making ViewBag.Company
in each action.
I want the solution::
1) A Global ViewBag.Company having List that we are passing from each action.
2) Then there won't be any need to create ViewBag.Company in each Action.
This question might be something different. But How can we achieve this?