chore: moves to ExpandoObject for updating entities because not all properties need to be part of the payload
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Dynamic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Novaloop.PaymoApi.ClientContacts.Models;
|
||||
@@ -41,7 +42,7 @@ namespace Novaloop.PaymoApi.ClientContacts
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public async Task UpdateClientContact(ClientContact clientContact, int clientContactId)
|
||||
public async Task UpdateClientContact(ExpandoObject clientContact, int clientContactId)
|
||||
{
|
||||
await _baseApi.Update(clientContact, clientContactId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user