Exemplo n.º 1
0
        public ActionResult ChangeStatus(int id)
        {
            if (id < 1)
            {
                return(RedirectToAction("RolesLookUp"));
            }
            ResultDto resultDto = new ResultDto();

            resultDto = _rolesService.ChangeStatus(id);

            TempData["Result"] = resultDto;
            return(RedirectToAction("RolesLookUp"));
        }