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

DeleteAsync() public method

Deletes asynchronously with specified id.
id;Value must be greater than zero.
public DeleteAsync ( int id ) : System.Threading.Tasks.Task
id int The contact id.
return System.Threading.Tasks.Task
        public async Task DeleteAsync(int id) {
            if (id < 1) throw new ArgumentOutOfRangeException(nameof(id), "Value must be greater than zero.");

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