c# ActionController returns ActionController Viewbag = empty
<p>Just like the 1st question that i asked here.
I am working with a group on a project for our scool.</p>

<p>We learned alot at this moment but we have just 1 issue</p>

<p>I Made a Logincontroller
and in each Controller there is a call to the logincontroller to check if is logged in.
its a little bit more complicated but thats what it does.</p>

<p>Like ActionResult List (Model model)</p>

<p>Session = Session["Login"];</p>

<p>Return LoginController.CheckedLoginAsAdmin(Session,model)</p>

<p>or without model return Logincontroller.checkedLoginAsAdmin(Session);</p>

<p>But for the Creates and Edits we use some Scafolded viewbags i gess...
When we are using Viewbags -> they are set to NULL in the view.
Because we RETURN an actionresult.
Any id's to fix this issue ?</p>

<p>If you need more information, just ask it :-)</p>

<p>Thnx On Advance</p>