Exemplo n.º 1
0
 private void ManagementLoaded(object sender, RoutedEventArgs e)
 {
     try
     {
         mg = new ManagementModel();
         lv_itemsCategory.ItemsSource      = mg.GetAllCategory();
         lv_menu.ItemsSource               = mg.GetAllMenu();
         lv_menuOption.ItemsSource         = mg.GetMenuOptions();
         lv_ingredientCategory.ItemsSource = mg.GetAllIngredientCat();
     }
     catch (Exception ex)
     {
     }
 }