public void CheckManufacturers() { var hwaaw = new HelloWorldAirtableAPIWrapper(ConfigurationManager.AppSettings["apiKey"], ConfigurationManager.AppSettings["baseId"]); var manufacturers = hwaaw.GetManufacturers("Foo"); var honda = manufacturers.FirstOrDefault(fod => fod.Name.Contains("Honda")); honda.Notes = "Something else"; hwaaw.Update(honda); //var manufsToDelete = manufacturers.Where(whereManuf => whereManuf.ToDelete.HasValue && whereManuf.ToDelete.Value); //manufsToDelete.ToList().ForEach(feManufToDelete => hwaaw.Delete(feManufToDelete)); }
private void Form1_Load(object sender, EventArgs e) { this.hwaaw = new HelloWorldAirtableAPIWrapper(ConfigurationManager.AppSettings["apiKey"], ConfigurationManager.AppSettings["baseId"]); dataGridView1.DataSource = hwaaw.GetManufacturers(""); }