Exemplo n.º 1
0
        public ActionResult ActiveInactiveBranch(string Id)
        {
            int branchId = DecryptQueryString(Id);

            if (branchId < 1)
            {
                return(RedirectToAction("BranchLookUp"));
            }

            ResultDto resultDto = _branchService.ChangeStatus(branchId, UserInfo.UserID);

            TempData["Result"] = resultDto;

            return(RedirectToAction("BranchLookUp"));
        }