Exemple #1
0
        public virtual IActionResult QueuedEmailList(QueuedEmailSearchModel searchModel)
        {
            //prepare model
            var model = _queuedEmailModelFactory.PrepareQueuedEmailListModel(searchModel);

            return(Json(model));
        }
Exemple #2
0
        public virtual IActionResult QueuedEmailList(QueuedEmailSearchModel searchModel)
        {
            if (!_permissionService.Authorize(StandardPermissionProvider.ManageMessageQueue))
            {
                return(AccessDeniedKendoGridJson());
            }

            //prepare model
            var model = _queuedEmailModelFactory.PrepareQueuedEmailListModel(searchModel);

            return(Json(model));
        }