public ProtectionAreaAppService(IProtectionAreaRepository protectionAreaRepository,
                                 IMediatorHandler bus,
                                 IMapper mapper,
                                 ICacheManager cache)
 {
     _protectionAreaRepository = protectionAreaRepository;
     _bus    = bus;
     _mapper = mapper;
     _cache  = cache;
 }
 public ProtectionAreaCommandHandler(ISuperheroRepository superheroRepository,
                                     IProtectionAreaRepository protectionAreaRepository,
                                     IMediatorHandler bus,
                                     INotificationHandler <DomainNotification> notifications)
     : base(protectionAreaRepository, bus, notifications)
 {
     _superheroRepository      = superheroRepository;
     _protectionAreaRepository = protectionAreaRepository;
     _bus = bus;
 }
Beispiel #3
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;
 }