async Task IRestoreNM.RestoreMessageAsync(string payLoad) { await RestoreAsync(); IClientUpdateGame client = MainContainer.Resolve <IClientUpdateGame>(); await client.UpdateGameAsync(payLoad); }
async Task INewGameNM.NewGameReceivedAsync(string data) { if (OpeningScreen != null) { throw new BasicBlankException("The opening screen should have been closed. Rethink"); } await RestoreAsync(); //take a risk here. IClientUpdateGame clientUpdate = MainContainer.Resolve <IClientUpdateGame>(); await clientUpdate.UpdateGameAsync(data); }