public QueryExecutor( IModelValidationService modelValidationService, IQueryHandlerFactory queryHandlerFactory, IExecutionContextFactory executionContextFactory, IExecutePermissionValidationService executePermissionValidationService ) { _modelValidationService = modelValidationService; _queryHandlerFactory = queryHandlerFactory; _executionContextFactory = executionContextFactory; _executePermissionValidationService = executePermissionValidationService; }
public CommandExecutor( DbContext dbContext, IModelValidationService modelValidationService, ICommandHandlerFactory commandHandlerFactory, IExecutionContextFactory executionContextFactory, ICommandLogService commandLogService, IExecutePermissionValidationService executePermissionValidationService ) { _dbContext = dbContext; _modelValidationService = modelValidationService; _commandHandlerFactory = commandHandlerFactory; _executionContextFactory = executionContextFactory; _commandLogService = commandLogService; _executePermissionValidationService = executePermissionValidationService; }