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

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

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

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

            return(ZViewOperationResult(customerCustomerDemoCollectionModel.OperationResult));
        }
        public ActionResult Index(string masterCustomerTypeId = null, string masterCustomerId = null)
        {
            ClearUrlDictionary();

            CustomerCustomerDemoCollectionModel customerCustomerDemoCollectionModel = new CustomerCustomerDemoCollectionModel()
            {
                IsSecurityOperations = this.IsSecurityOperations,
                ControllerAction     = "Index",
                MasterCustomerTypeId = masterCustomerTypeId, MasterCustomerId = masterCustomerId
            };

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

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

            CustomerCustomerDemoCollectionModel customerCustomerDemoCollectionModel = new CustomerCustomerDemoCollectionModel()
            {
                IsSecurityOperations   = this.IsSecurityOperations,
                ControllerAction       = "Search",
                MasterControllerAction = masterControllerAction,
                MasterCustomerTypeId   = masterCustomerTypeId, MasterCustomerId = masterCustomerId
            };

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

            return(PartialView(customerCustomerDemoCollectionModel));
        }