コード例 #1
0
        public async Task <IActionResult> Donate(DonateViewModel model)
        {
            if (ModelState.IsValid)
            {
                var response = await _blockchainService.Donate(model);

                return(Json(response));
            }
            return(Json("Fail"));
        }