public virtual IActionResult QueuedEmailList(QueuedEmailSearchModel searchModel) { //prepare model var model = _queuedEmailModelFactory.PrepareQueuedEmailListModel(searchModel); return(Json(model)); }
public virtual IActionResult QueuedEmailList(QueuedEmailSearchModel searchModel) { if (!_permissionService.Authorize(StandardPermissionProvider.ManageMessageQueue)) { return(AccessDeniedKendoGridJson()); } //prepare model var model = _queuedEmailModelFactory.PrepareQueuedEmailListModel(searchModel); return(Json(model)); }