예제 #1
0
        public MenuViewModel(MenuPageService menuPageService)
        {
            _menuPageService = menuPageService;
            _menuPageService.OnPageChanged += (page) => { IsLeftDrawerOpen = false; PageSource = page; };

            _config = ConfigurationUser.GetConfiguration();
        }
예제 #2
0
 public MenuViewModel(PageService pageService)
 {
     _pageService = pageService;
     _config      = ConfigurationUser.GetConfiguration();
 }
예제 #3
0
 public CustomersViewModel(PageService pageService)
 {
     _pageService = pageService;
     _config      = ConfigurationUser.GetConfiguration();
 }
        private void RewriteConfiguration(v_user user)
        {
            var config = new ConfigurationUser(user.IdUser, user.RoleName);

            config.Save();
        }