示例#1
0
        public async Task <IActionResult> CreateRecords()
        {
            AddressModel model = new AddressModel()
            {
                Address_Line_1 = "Test Address Line 1",
                City           = "Test City",
                State_Region   = "AK"
            };

            List <AddressModel> records = new List <AddressModel>();

            records.Add(model);

            return(View(await _api.CreateRecordsAsync <AddressModel>("Addresses", records)));
        }