protected override void SubmitData(IJsonWebhook json) { var endpoint = EndpointFactory.Build(EntityRequestType.Webhook_Write_Update, new Dictionary <string, object> { { "_id", Data.Id } }); var newData = JsonRepository.Execute(Auth, endpoint, json); Merge(newData); }
protected override async Task SubmitData(IJsonWebhook json, CancellationToken ct) { var endpoint = EndpointFactory.Build(EntityRequestType.Webhook_Write_Update, new Dictionary <string, object> { { "_id", Data.Id } }); var newData = await JsonRepository.Execute(Auth, endpoint, json, ct); Merge(newData); }
void IMergeJson <IJsonWebhook> .Merge(IJsonWebhook json, bool overwrite) { _context.Merge(json, overwrite); }
void IMergeJson <IJsonWebhook> .Merge(IJsonWebhook json) { _context.Merge(json); }