Esempio n. 1
0
        public ActionResult ActiveInactiveDistrict(string Id)
        {
            int DistrictId = DecryptQueryString(Id);

            if (DistrictId < 1)
            {
                return(RedirectToAction("DistrictLookup"));
            }

            ResultDto resultDto = _districtService.ChangeStatus(DistrictId, UserInfo.UserID);

            TempData["Result"] = resultDto;

            return(RedirectToAction("DistrictLookup"));
        }