Beispiel #1
0
        public IActionResult AddCardForm(string id)
        {
            var vm = new AddTrelloPost
            {
                TrelloListId = id
            };

            return(View("AddCardForm", vm));
        }
Beispiel #2
0
        public async Task <IActionResult> AddCardForm(AddTrelloPost post)
        {
            await _trelloService.CreateAcardOnAlist(post.TrelloListId, post.Name, post.Description);

            return(View("AddCardFormResponse", post));
        }