Ejemplo n.º 1
0
        public ActionResult Index()
        {
            ClearUrlDictionary();

            UserCollectionModel userCollectionModel = new UserCollectionModel()
            {
                IsSecurityOperations = this.IsSecurityOperations,
                ControllerAction     = "Index"
            };

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

            return(View(userCollectionModel));
        }
Ejemplo n.º 2
0
        public ActionResult Search(string masterControllerAction = null)
        {
            WriteUrlDictionary();

            UserCollectionModel userCollectionModel = new UserCollectionModel()
            {
                IsSecurityOperations   = this.IsSecurityOperations,
                ControllerAction       = "Search",
                MasterControllerAction = masterControllerAction
            };

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

            return(PartialView(userCollectionModel));
        }