Task IHandleAsync <LoadEventModel> .HandleAsync(LoadEventModel message)
        {
            BeleaguredCastleMainViewModel model = (BeleaguredCastleMainViewModel)DataContext;
            var tempMain = (MainPilesCP)model.MainPiles1 !;

            _main.Init(tempMain.Piles, ts.TagUsed);
            var tempWaste = (WastePiles)model.WastePiles1 !;

            _waste.Init(tempWaste.Piles, _main);
            return(Task.CompletedTask);
        }
        Task IHandleAsync <LoadEventModel> .HandleAsync(LoadEventModel message)
        {
            BeleaguredCastleMainViewModel model = (BeleaguredCastleMainViewModel)BindingContext;
            var tempMain = (MainPilesCP)model.MainPiles1 !;

            _main.Init(tempMain.Piles, ts.TagUsed);
            var tempWaste = (WastePiles)model.WastePiles1 !;

            _waste.Init(tempWaste.Piles, _main);
            return(this.RefreshBindingsAsync(_aggregator));
        }