Exemple #1
0
 public void Show(Kapsch.ITS.App.Common.Models.AuthenticatedUser authenticatedUser)
 {
     AuthenticatedUser = authenticatedUser;
     try
     {
         var mainWindow = new MainWindow();
         mainWindow.ShowDialog();
     }
     catch (Exception ex)
     {
         //go back to main window
     }
 }
Exemple #2
0
 public bool HasAccess(Kapsch.ITS.App.Common.Models.AuthenticatedUser authenticatedUser)
 {
     AuthenticatedUser = authenticatedUser;
     return(authenticatedUser.IsInRole("IMS Work Station: iApps - iLog"));
     //return true;
 }