Example #1
0
        //  [Fact]
        public void CreateExpenses()
        {
            var ATbase = new AirtableExpenses();

            var expensesEntry = new ExpensesData("test data");

            expensesEntry.Date        = DateTime.Now;
            expensesEntry.DeliveredTo = "Al";
            expensesEntry.Value       = 10.34;

            ATbase.CreateExpensesRecord(expensesEntry);
        }
Example #2
0
        public void CreateAndUpdateExpense()
        {
            var ATbase = new AirtableExpenses();
            var data   = new ExpensesData("DUMMY EXPENSE")
            {
                Value   = 1.2,
                Date    = DateTime.Now,
                OrderId = "1234",
            };

            ATbase.CreateExpensesRecord(data);
        }