ViewData & ViewBag serve the same purpose of transferring data from Controller to View or between Views. The difference between them is the underlying implementation and the way we need to handle it as a result.(casting in case of ViewData etc.)
So, can there be any scenario where ViewData is preferred over ViewBag?