Task IPremiseObject.DeleteAsync() { var future = new DeleteObjectFuture(_objectId, string.Empty); _client.Send(future, out Task task); return(task); }
Task IPremiseObject.DeleteChildObjectAsync(string subObjectId) { if (!IsValidObjectId(subObjectId)) { throw new ArgumentException("Invalid parameter", nameof(subObjectId)); } var future = new DeleteObjectFuture(_objectId, subObjectId); _client.Send(future, out Task task); return(task); }