よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public IActionResult DeleteWallet(int id) { int regId; regId = _walletService.DeleteRegistrant(id); if (regId == -1) { return(View("Error", new ErrorViewModel { RequestId = @"Can't delete wallet with accounts" })); } return(RedirectToAction("DetailsRegistrant", "Registrant", new { id = regId })); }