public ActionResult ActiveInactiveBankMaster(string Id) { int bankentryId = DecryptQueryString(Id); if (bankentryId < 1) { return(RedirectToAction("BankMasterLookup")); } ResultDto resultDto = _bankService.ChangeStatus(bankentryId, UserInfo.UserID); TempData["Result"] = resultDto; return(RedirectToAction("BankMasterLookup")); }