Пример #1
0
        public ActionResult Index()
        {
            ClearUrlDictionary();

            ActivityCollectionModel activityCollectionModel = new ActivityCollectionModel()
            {
                IsSecurityOperations = this.IsSecurityOperations,
                ControllerAction     = "Index"
            };

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

            return(View(activityCollectionModel));
        }
Пример #2
0
        public ActionResult Search(string masterUrl = null, string masterControllerAction = null)
        {
            WriteUrlDictionary(masterUrl);

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

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

            return(PartialView(activityCollectionModel));
        }