public void TestInitializer()
        {
            _eventParticipationService = Substitute.For <IEventParticipationService>();
            _eventUtilitiesService     = Substitute.For <IEventUtilitiesService>();
            _excelBuilder = new ExcelBuilder();

            _eventExportService = new EventExportService(_eventParticipationService, _eventUtilitiesService, _excelBuilder);
        }
Пример #2
0
 public EventController(
     IMapper mapper,
     IEventService eventService,
     IEventListingService eventListingService,
     IEventUtilitiesService eventUtilitiesService,
     IEventParticipationService eventParticipationService,
     IEventCalendarService calendarService,
     IEventExportService eventExportService,
     IPostService postService,
     IOfficeMapService officeMapService,
     IAsyncRunner asyncRunner)
 {
     _mapper                    = mapper;
     _eventService              = eventService;
     _eventListingService       = eventListingService;
     _eventUtilitiesService     = eventUtilitiesService;
     _eventParticipationService = eventParticipationService;
     _calendarService           = calendarService;
     _eventExportService        = eventExportService;
     _postService               = postService;
     _officeMapService          = officeMapService;
     _asyncRunner               = asyncRunner;
 }