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); } }
public ViewModelBase() { CloseCommand = new RelayCommand(() => DisplayState.Exit()); }