Exemplo n.º 1
0
 public void Checkin()
 {
     try
     {
         _checkout.Relinquish();
         DisplayState.Exit();
     }
     catch (DistributorRequestException)
     {
         DisplayState.NotifyUser("There has been an issue contacting your distributor server. Please try again. If the problem persists, please contact your system administrator.");
     }
     catch (Exception exc)
     {
         DisplayState.NotifyUser(exc.Message);
     }
 }
Exemplo n.º 2
0
 public ViewModelBase()
 {
     CloseCommand = new RelayCommand(() => DisplayState.Exit());
 }