public static List <FoodImg> ToFoodList(List <DB.Food> dbFoods)
        {
            List <FoodImg> meFoods = new List <FoodImg>();

            foreach (DB.Food dbFood in dbFoods)
            {
                meFoods.Add(FoodImg.ToFood(dbFood));
            }

            return(meFoods);
        }
        public static FoodImg ToFood(DB.Food dbFood)
        {
            FoodImg meFood = new FoodImg();

            meFood.Id            = dbFood.Id;
            meFood.Name          = dbFood.Name;
            meFood.Price         = dbFood.Price;
            meFood.Type          = dbFood.Type;
            meFood.Id_Restaurant = dbFood.Id_Restaurant;

            meFood.Ingredient_To_Food = dbFood.Ingredient_To_Food;
            meFood.Order_To_Food      = dbFood.Order_To_Food;
            meFood.Restaurant         = dbFood.Restaurant;

            return(meFood);
        }
        public static async Task <FoodImg> ImagesAndFood(FoodImg food)
        {
            await food.getImages();

            return(food);
        }