Example #1
0
 public EventDataModelAdapter(
     IEventFactory eventFactory,
     IEventRegistrationFactory eventRegistrationFactory,
     IMapper mapper)
 {
     _eventFactory             = eventFactory;
     _eventRegistrationFactory = eventRegistrationFactory;
     _mapper = mapper;
 }
 public EventsController(
     IEventFactory eventFactory,
     IEventRegistrationFactory eventRegistrationFactory,
     IEventRepository eventRepository,
     IMapper mapper)
 {
     _eventFactory             = eventFactory;
     _eventRegistrationFactory = eventRegistrationFactory;
     _eventRepository          = eventRepository;
     _mapper = mapper;
 }