public MainFoodPage(int foodTypeId) : this() { this.TypeId = foodTypeId; Foods = MainFunctions.GetStoreFood(MainFunctions.Main.ShopId, MainFunctions.Main.MainLanguage, TypeId); FoodList.ItemsSource = Foods.ToArray(); }