public ThingCreatedEventHandler( IThingRepository thingRepository, IThingMappingService thingMappingService, IUnitOfWork unitOfWork, ILogger <ThingCreatedEventHandler> logger) { _thingRepository = thingRepository; _thingMappingService = thingMappingService; _unitOfWork = unitOfWork; _logger = logger; }
public ThingQueryService( IThingRepository thingRepository, IThingMappingService thingMappingService, IHttpContextUserService httpContextUserService, ILogger <ThingQueryService> logger) { _thingRepository = thingRepository; _thingMappingService = thingMappingService; _httpContextUserService = httpContextUserService; _logger = logger; }
public ThingDeletedEventHandler( IThingRepository thingRepository, IThingMappingService thingMappingService, IUnitOfWork unitOfWork, IServiceScopeFactory serviceScopeFactory, ILogger <ThingDeletedEventHandler> logger) { _thingRepository = thingRepository; _thingMappingService = thingMappingService; _unitOfWork = unitOfWork; _serviceScopeFactory = serviceScopeFactory; _logger = logger; }
public ThingCommandService( IThingRepository thingRepository, IThingMappingService thingMappingService, IUserRepository userRepository, IHttpContextUserService httpContextUserService, IEventBusPublisher eventBusPublisher, IUnitOfWork unitOfWork, ILogger <ThingQueryService> logger) { _thingRepository = thingRepository; _thingMappingService = thingMappingService; _userRepository = userRepository; _httpContextUserService = httpContextUserService; _eventBusPublisher = eventBusPublisher; _unitOfWork = unitOfWork; _logger = logger; }