public void TestInitializer() { _eventParticipationService = Substitute.For <IEventParticipationService>(); _eventUtilitiesService = Substitute.For <IEventUtilitiesService>(); _excelBuilder = new ExcelBuilder(); _eventExportService = new EventExportService(_eventParticipationService, _eventUtilitiesService, _excelBuilder); }
public EventExportService( IEventParticipationService eventParticipationService, IEventUtilitiesService eventUtilitiesService, IExcelBuilder excelBuilder) { _eventParticipationService = eventParticipationService; _eventUtilitiesService = eventUtilitiesService; _excelBuilder = excelBuilder; }
public HomeViewModel( IActivityParticipationService activityParticipationService, IActivityManagementService activityManagementService, IEventParticipationService eventParticipationService, IEventManagementService eventManagementService) { _activityParticipationService = activityParticipationService; _activityManagementService = activityManagementService; _eventParticipationService = eventParticipationService; _eventManagementService = eventManagementService;; NewEventParticipation = new EventParticipation(); NewActivityParticipation = new ActivityParticipation(); }
public EventService(IUnitOfWork2 uow, IPermissionService permissionService, IEventUtilitiesService eventUtilitiesService, IEventValidationService eventValidationService, IEventParticipationService eventParticipationService, IWallService wallService, IMarkdownConverter markdownConverter) { _uow = uow; _eventsDbSet = uow.GetDbSet <Event>(); _eventTypesDbSet = uow.GetDbSet <EventType>(); _usersDbSet = uow.GetDbSet <ApplicationUser>(); _eventOptionsDbSet = uow.GetDbSet <EventOption>(); _officeDbSet = uow.GetDbSet <Office>(); _permissionService = permissionService; _eventUtilitiesService = eventUtilitiesService; _eventValidationService = eventValidationService; _eventParticipationService = eventParticipationService; _wallService = wallService; _markdownConverter = markdownConverter; }
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; }
public EventParticipationMock(IConfigurationProvider configurationProvider) { _configurationProvider = configurationProvider; _mapper = _configurationProvider.CreateMapper(); _proxy = CreateEventParticipation(); }