Ejemplo n.º 1
0
        public ActionResult EditPermissions(UserPermissionsModel model)
        {
            try
            {
                _adminBusinessLogic.ChangeUserPermissions(model);
            }
            catch (FormValidationException e)
            {
                return(View("UserError", new UserError(e.Error)));
            }

            return(RedirectToAction("UserPermissions"));
        }