예제 #1
0
        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"));
        }