private async Task DeleteEntity(int id) { var request = new FortnoxApiRequest(this.connectionSettings.AccessToken, this.connectionSettings.ClientSecret); await SupplierInvoiceExternalURLConnectionsService .DeleteSupplierInvoiceExternalURLConnectionsAsync( request, id.ToString() ); }
public async Task DeleteSupplierInvoiceExternalUrlConnectionTest() { var request = new FortnoxApiRequest(this.connectionSettings.AccessToken, this.connectionSettings.ClientSecret); var response = await CreateEntity(1); await SupplierInvoiceExternalURLConnectionsService .DeleteSupplierInvoiceExternalURLConnectionsAsync( request, response.Id.ToString() ); }