public TimeTrackingModel(TeamPulseApp app)
        {
            this.App = app;
            this.currentUser = App.Users.GetCurrent();

            StartTrackTimeCommand = new RelayCommand(StartTrackTimeExecute, StartTrackTimeCanExecute);
            StopTrackTimeCommand = new RelayCommand(StopTrackTimeExecute, StopTrackTimeCanExecute);

            LoadData();

            dispatcherTimer = new System.Windows.Threading.DispatcherTimer();
            dispatcherTimer.Tick += new EventHandler(dispatcherTimer_Tick);
            dispatcherTimer.Interval = new TimeSpan(0, 0, 1);
        }
 public LoginModel()
 {
     LogonCommand = new RelayCommand(LogonExecute, LogonCanExecute);
 }