public MainPageViewModel(IApplicationSettingsService applicationSettingsService) { _applicationSettingsService = applicationSettingsService; ClearSetupCommand = new DelegateCommand(() => { _applicationSettingsService.ClearSetup(); }); LogoutCommand = new DelegateCommand(() => { _applicationSettingsService.Logout(); }); }