public async void AddCommentValid() { await Trello.AddComment("5a3897ca92fdafbe29fc6877", "TestComment"); Assert.True(Trello.CommentAdded); }
public async void AddCommentNullComment() { await Trello.AddComment("5a3897ca92fdafbe29fc6877", null); Assert.False(Trello.CommentAdded); }
public async void AddCommentNoId() { await Trello.AddComment("", "TestComment"); Assert.False(Trello.CommentAdded); }
public async Task <IActionResult> AddComment(string id, string comment) { await Trello.AddComment(id, comment); return(RedirectToAction(nameof(Cards))); }