public virtual void PostComment(long cardId, Comment comment)
		{
			var cardComments = GetComments(cardId).ToList();
			cardComments.Add(comment);
			_api.PostComment(_board.Id, cardId, comment);
		}
		public long PostComment(long boardId, long cardId, Comment comment)
		{
			var resource = "/Kanban/Api/Card/SaveComment/" + boardId + "/" + cardId;
			return _restCommandProcessor.Post<long>(_accountAuth, resource, comment);
		}
		public long PostCommentByExternalId(long boardId, string externalId, Comment comment)
		{
			var resource = "/Kanban/Api/Card/SaveCommentByExternalId/" + boardId + "/" + Uri.EscapeDataString(externalId);
			return _restCommandProcessor.Post<long>(_accountAuth, resource, comment);
		}
Ejemplo n.º 4
0
		public long AddCardComment(long boardId, long cardId, string comment)
		{
			InitCheck();
			var c = new Comment {Text = comment};
			return _api.PostComment(boardId, cardId, c);
		}