//JDR: Set path for user to be redirected after loggin, this is also used to send user to a page they atempted to acces but was not loggedIn public static void SetLoggedInPathLocation(string Controller, string Action) { UserAccount.SetLoggedInPathController(Controller); UserAccount.SetLoggedInPathAction(Action); }
//JDR: OVERLOAD 4: Private method to set static user if ID found private static bool SetActiveUser(string UserID) //JDR: Use UserID for populating ActiveUser, convert str to int { return(UserAccount.SetActiveUser(Int32.Parse(UserID))); }
//------------------------PUBLIC Define Model Methods ------------------------ //JDR: Reset logginPath public static void ResetLoggedInPath() { UserAccount.SetLoggedInPathController(); UserAccount.SetLoggedInPathAction(); }