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

CreateAsync() public method

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

            return await base.CreateEntityAsync("subjects.json", entity);
        }