public static void Write(Deck deck) { Folder.WriteFile(deck.Name, DeckFile.Write(deck)); }
public static void Write(Deck deck) { var filename = String.Format("{0}.dec", Guid.NewGuid()); Folder.WriteFile(filename, DeckFile.Write(deck)); }