Ejemplo n.º 1
0
        public ActionResult Search(string masterControllerAction = null)
        {
            AuditTrailLogCollectionModel auditTrailLogCollectionModel = new AuditTrailLogCollectionModel(ActivityOperations, "Search", masterControllerAction);

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

            return(JsonResultOperationResult(auditTrailLogCollectionModel.OperationResult));
        }
Ejemplo n.º 2
0
        public ActionResult Index()
        {
            AuditTrailLogCollectionModel auditTrailLogCollectionModel = new AuditTrailLogCollectionModel(ActivityOperations, "Index", null);

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

            return(ZViewOperationResult(auditTrailLogCollectionModel.OperationResult));
        }
Ejemplo n.º 3
0
        public ActionResult Index()
        {
            ClearUrlDictionary();

            AuditTrailLogCollectionModel auditTrailLogCollectionModel = new AuditTrailLogCollectionModel()
            {
                IsSecurityOperations = this.IsSecurityOperations,
                ControllerAction     = "Index"
            };

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

            return(View(auditTrailLogCollectionModel));
        }
Ejemplo n.º 4
0
        public ActionResult Search(string masterUrl = null, string masterControllerAction = null)
        {
            WriteUrlDictionary(masterUrl);

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

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

            return(PartialView(auditTrailLogCollectionModel));
        }