Esempio n. 1
0
        public ActionResult Index(string masterUserId = null)
        {
            ClearUrlDictionary();

            UserClaimCollectionModel userClaimCollectionModel = new UserClaimCollectionModel()
            {
                IsSecurityOperations = this.IsSecurityOperations,
                ControllerAction     = "Index",
                MasterUserId         = masterUserId
            };

            try
            {
                IsSearch(userClaimCollectionModel.OperationResult);
            }
            catch (Exception exception)
            {
                userClaimCollectionModel.OperationResult.ParseException(exception);
            }

            return(View(userClaimCollectionModel));
        }
Esempio n. 2
0
        public ActionResult Search(string masterControllerAction = null, string masterUserId = null)
        {
            WriteUrlDictionary();

            UserClaimCollectionModel userClaimCollectionModel = new UserClaimCollectionModel()
            {
                IsSecurityOperations   = this.IsSecurityOperations,
                ControllerAction       = "Search",
                MasterControllerAction = masterControllerAction,
                MasterUserId           = masterUserId
            };

            try
            {
                IsSearch(userClaimCollectionModel.OperationResult);
            }
            catch (Exception exception)
            {
                userClaimCollectionModel.OperationResult.ParseException(exception);
            }

            return(PartialView(userClaimCollectionModel));
        }