Altairis.Fakturoid.Client.FakturoidSubjectsProxy.UpdateAsync C# (CSharp) Method

UpdateAsync() public method

Updates asynchronously the specified subject.
entity
public UpdateAsync ( Altairis.Fakturoid.Client.JsonSubject entity ) : Task
entity Altairis.Fakturoid.Client.JsonSubject The subject to update.
return Task
        public async Task<JsonSubject> UpdateAsync(JsonSubject entity) {
            if (entity == null) throw new ArgumentNullException(nameof(entity));

            return await base.UpdateSingleEntityAsync(string.Format("subjects/{0}.json", entity.id), entity);
        }