chore: moves to ExpandoObject for updating entities because not all properties need to be part of the payload

This commit is contained in:
Matthias Langhard
2021-06-15 11:48:04 +02:00
parent e63d357d36
commit 51f464bad0
10 changed files with 30 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Threading.Tasks;
using Novaloop.PaymoApi.Clients.Models;
@@ -41,7 +42,7 @@ namespace Novaloop.PaymoApi.Clients
}
/// <inheritdoc />
public async Task UpdateClient(Client client, int clientId)
public async Task UpdateClient(ExpandoObject client, int clientId)
{
await _baseApi.Update(client, clientId);
}