public ActionResult Search(string masterControllerAction = null, string masterEntity = null, string masterKey = null)
        {
            RegionCollectionModel regionCollectionModel = new RegionCollectionModel(ActivityOperations, "Search", masterControllerAction, masterEntity, masterKey);

            try
            {
                if (IsOperation(regionCollectionModel.OperationResult))
                {
                    return(ZPartialView(regionCollectionModel));
                }
            }
            catch (Exception exception)
            {
                regionCollectionModel.OperationResult.ParseException(exception);
            }

            return(JsonResultOperationResult(regionCollectionModel.OperationResult));
        }
        public ActionResult Index(string masterEntity = null, string masterKey = null)
        {
            RegionCollectionModel regionCollectionModel = new RegionCollectionModel(ActivityOperations, "Index", null, masterEntity, masterKey);

            try
            {
                if (IsIndex(regionCollectionModel.OperationResult))
                {
                    return(ZView(regionCollectionModel));
                }
            }
            catch (Exception exception)
            {
                regionCollectionModel.OperationResult.ParseException(exception);
            }

            return(ZViewOperationResult(regionCollectionModel.OperationResult));
        }
        public ActionResult Index()
        {
            ClearUrlDictionary();

            RegionCollectionModel regionCollectionModel = new RegionCollectionModel()
            {
                IsSecurityOperations = this.IsSecurityOperations,
                ControllerAction     = "Index"
            };

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

            return(View(regionCollectionModel));
        }
        public ActionResult Search(string masterUrl = null, string masterControllerAction = null)
        {
            WriteUrlDictionary(masterUrl);

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

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

            return(PartialView(regionCollectionModel));
        }