Пример #1
0
 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;
 }
Пример #2
0
 public SuperPowerService(SuperHeroCatalogueDb context, IAuditEventService auditService)
 {
     this._context      = context;
     this._auditService = auditService;
 }