Exemplo n.º 1
0
        public LabelsUpdateRequest(IUpdatableLabel label)
            : base(label.Id, method: Method.PUT)
        {
            Guard.RequiredTrelloString(label.Name, "name");

            AddParameter("name", label.Name);
            AddParameter("color", label.Color);
        }
Exemplo n.º 2
0
 public Task Update(IUpdatableLabel label)
 {
     return(_restClient.RequestAsync(new LabelsUpdateRequest(label)));
 }
Exemplo n.º 3
0
 public void Update(IUpdatableLabel label)
 {
     _restClient.Request(new LabelsUpdateRequest(label));
 }