public ActionResult UnblockPaymentAccount(string accountId) { PaymentAccountService service = new PaymentAccountService(); if (service.GetPaymentAccountById(accountId).OnUnblocking) { ViewBag.OnUnblocking = true; } service.Unblock(accountId); var id = service.GetPaymentAccountById(accountId).User.Id; return(RedirectToAction("ManagePaymentAccounts", new { userId = id })); }