Ejemplo n.º 1
0
        public MenuViewModel(MenuPageService menuPageService)
        {
            _menuPageService = menuPageService;
            _menuPageService.OnPageChanged += (page) => { IsLeftDrawerOpen = false; PageSource = page; };

            _config = ConfigurationUser.GetConfiguration();
        }
Ejemplo n.º 2
0
 public MenuViewModel(PageService pageService)
 {
     _pageService = pageService;
     _config      = ConfigurationUser.GetConfiguration();
 }
Ejemplo n.º 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();
        }