Ejemplo n.º 1
0
 public void RemoveAttachment(ICardId card, IAttachmentId attachment)
 {
     _restClient.Request(new CardsRemoveAttachmentRequest(card, attachment));
 }
Ejemplo n.º 2
0
		public void RemoveAttachment(ICardId card, IAttachmentId attachment)
		{
			_restClient.Request(new CardsRemoveAttachmentRequest(card, attachment));
		}
Ejemplo n.º 3
0
 public CardsRemoveAttachmentRequest(ICardId card, IAttachmentId attachment)
     : base(card, "attachments/{idAttachment}", Method.DELETE)
 {
     Guard.NotNull(attachment, "attachment");
     AddParameter("idAttachment", attachment.GetAttachmentId(), ParameterType.UrlSegment);
 }
Ejemplo n.º 4
0
 public Task RemoveAttachment(ICardId card, IAttachmentId attachment)
 {
     return _restClient.RequestAsync(new CardsRemoveAttachmentRequest(card, attachment));
 }
Ejemplo n.º 5
0
 public Task RemoveAttachment(ICardId card, IAttachmentId attachment)
 {
     return(_restClient.RequestAsync(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);
		}