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

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

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

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

            return(ZViewOperationResult(customerDemographicCollectionModel.OperationResult));
        }
示例#3
0
        public ActionResult Index()
        {
            ClearUrlDictionary();

            CustomerDemographicCollectionModel customerDemographicCollectionModel = new CustomerDemographicCollectionModel()
            {
                IsSecurityOperations = this.IsSecurityOperations,
                ControllerAction     = "Index"
            };

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

            return(View(customerDemographicCollectionModel));
        }
示例#4
0
        public ActionResult Search(string masterUrl = null, string masterControllerAction = null)
        {
            WriteUrlDictionary(masterUrl);

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

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

            return(PartialView(customerDemographicCollectionModel));
        }