public SuperheroCommandHandler(ISuperheroRepository superheroRepository, IProtectionAreaRepository protectionAreaRepository, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications, IAuditEventService auditEventService) : base(superheroRepository, bus, notifications) { _superheroRepository = superheroRepository; _protectionAreaRepository = protectionAreaRepository; _bus = bus; _auditEventService = auditEventService; }
public SuperPowerService(SuperHeroCatalogueDb context, IAuditEventService auditService) { this._context = context; this._auditService = auditService; }