Beispiel #1
0
        public async Task SaveGameEvent()
        {
            var fileStorage = new FileStorage();
            var file        = await fileStorage.CreateFile(this.FileName());

            var json = await JSon.Serialize(this.Game);

            fileStorage.Write(file, json);
        }