public MainViewModel()
        {
            var config = new MapperConfiguration(cfg => cfg.AddProfile <ViewModelProfile>());

            mapper = config.CreateMapper();

            _propertiesCommand = new AdhrCommand(
                (param) => { Properties(); }
                );
            _connectCommand = new AdhrCommand(
                async(param) => { await refreshData(); }
                );

            PropertyChanged += MainViewModel_PropertyChanged;

            SettingsViewModel = new SettingsViewModel();
        }
 public AdhrUserViewModel()
 {
     _updateCommand = new AdhrCommand(
         async(param) => { await Update(); }, (user) => { return(IsDirty); }
         );
 }