User982203039 posted
How can I use a session variable in a controller to pass as a parameter for a stored procedure? I have a Public Action result where this works fine, but I can not get it to work on a private static. Do I have any options to get this to work? I am setting
the Branch session in the controller. Below is the code how I am setting the parameter for the Public Action result.
Thanks!
private static List<Birthdays> GetBirthdays()
{
var branch = @Session["Branch"];