コード例 #1
0
        public IActionResult AddCardForm(string id)
        {
            var vm = new AddTrelloPost
            {
                TrelloListId = id
            };

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

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