private static void Main(string[] args) { List<Card> tempa = MyCollection.Cards; NetDecks.DownloadDecks(); GoogleSpreedsheetWriter temp = new GoogleSpreedsheetWriter(); temp.WriteDecks(); Console.WriteLine("DONE"); Console.ReadLine(); }
private void LoadDecks(bool force = false) { gridViewDecks.DataSource = force ? NetDecks.DownloadDecks() : NetDecks.Decks; if (!force) { return; } gridCardValuation.DataSource = NetDecks.Valuations; gridPack.DataSource = (from SetEnum sType in Enum.GetValues(typeof(SetEnum)) select new Pack(sType)).Where(x => x.CanBuy).ToList(); }
// GET api/values/5 public IEnumerable <Deck> Get(int id) { return(NetDecks.DownloadDecks()); }