Beispiel #1
0
 //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);
 }
Beispiel #2
0
 //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)));
 }
Beispiel #3
0
 //------------------------PUBLIC Define Model Methods ------------------------
 //JDR: Reset logginPath
 public static void ResetLoggedInPath()
 {
     UserAccount.SetLoggedInPathController();
     UserAccount.SetLoggedInPathAction();
 }