im new to c# but what im trying to do instead of having a if-statement in every actionresult.
can i have a overall if-statement for the controller and just run that for every actionresult?
public InformationController {
if (Session["CharacterName"] == null)
{
return RedirectToAction("logon", "Auth");
}
something like that?