Ejemplo n.º 1
0
        public async Task <ActionResult <PagedList <WorkflowSetting> > > Handle(CancellationToken cancellationToken = default)
        {
            var specification = Specification <WorkflowSetting> .Identity;
            var items         = await _workflowSettingsStore.FindManyAsync(specification, cancellationToken : cancellationToken);

            return(Json(items, _serializerSettingsProvider.GetSettings()));
        }
 public Task <IEnumerable <WorkflowSetting> > FindManyAsync(
     ISpecification <WorkflowSetting> specification,
     IOrderBy <WorkflowSetting>?orderBy,
     IPaging?paging,
     CancellationToken cancellationToken) =>
 _store.FindManyAsync(specification, orderBy, paging, cancellationToken);