protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     string type = e.Parameter as string;
     FoodList foods = null;
     DatabaseController dbController = new DatabaseController();
     foods = dbController.searchFood(type);
     foodController = new ListFoodController(foods);
     this.DataContext = foodController;
 }