public EventDetailsController(IEventDetailsPageService eventDetailsPageService, IErrorLogService errorLogService, IEventListingService eventListingService, IAuthenticationService authenticationService)
 {
     _eventDetailsPageService = eventDetailsPageService;
     _eventListingService     = eventListingService;
     _errorLogService         = errorLogService;
     _authenticationService   = authenticationService;
 }
Ejemplo n.º 2
0
        public void TestInitializer()
        {
            var uow = Substitute.For <IUnitOfWork2>();

            _eventsDbSet = uow.MockDbSetForAsync <Event>();

            _systemClockMock        = Substitute.For <ISystemClock>();
            _eventValidationService = new EventValidationService(_systemClockMock);
            var eventValidationService = Substitute.For <IEventValidationService>();

            _eventListingService = new EventListingService(uow, eventValidationService);
        }
Ejemplo n.º 3
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;
 }