public FlowsParams(IServiceScopeFactory factory) { RE005Context context = factory.CreateScope().ServiceProvider.GetRequiredService <RE005Context>(); Flows = context.Flows .Include(a => a.StepsByFlows) .ThenInclude(a => a.IdStepNavigation) .ThenInclude(a => a.FieldsBySteps) .ThenInclude(a => a.IdFieldNavigation) .ToList(); }
public FlowExec(IFlowsParams flowsParams, RE005Context context, IHttpClientFactory clientFactory) { _flowsParams = flowsParams; _context = context; _clientFactory = clientFactory; }