Esempio n. 1
0
        public void MoveCardToColumn(Card card, Column column)
        {
            var parameters = new Dictionary <string, string>();

            parameters.Add("widgetCommonId", card.WidgetCommonId);
            parameters.Add("columnId", column.ColumnId);
            connection.Put($"{ENDPOINT_CARDS}/{card.CardId}", parameters);
        }
Esempio n. 2
0
 public void MoveCardToColumn(Card card, Column column)
 {
     if (column != null)
     {
         var parameters = new Dictionary <string, string>();
         parameters.Add("widgetCommonId", card.WidgetCommonId);
         parameters.Add("columnId", column.ColumnId);
         connection.Put($"{ENDPOINT_CARDS}/{card.CardId}", parameters);
     }
     else
     {
         throw new ArgumentNullException(nameof(column), "A column can't be null when moving cards to column");
     }
 }