public void RemoveAttachment(ICardId card, IAttachmentId attachment) { _restClient.Request(new CardsRemoveAttachmentRequest(card, attachment)); }
public CardsRemoveAttachmentRequest(ICardId card, IAttachmentId attachment) : base(card, "attachments/{idAttachment}", Method.DELETE) { Guard.NotNull(attachment, "attachment"); AddParameter("idAttachment", attachment.GetAttachmentId(), ParameterType.UrlSegment); }
public Task RemoveAttachment(ICardId card, IAttachmentId attachment) { return _restClient.RequestAsync(new CardsRemoveAttachmentRequest(card, attachment)); }
public Task RemoveAttachment(ICardId card, IAttachmentId attachment) { return(_restClient.RequestAsync(new CardsRemoveAttachmentRequest(card, attachment))); }