public VoteController() { _votingService = new VotingService(); _eventManagementService = new EventManagementService(); _eventDetailsService = new EventDetailsService(); _placeService = new PlaceService(); }
/// <summary> /// Initialize new instance of VotingService /// </summary> /// <param name="eventDetailsService">EventDetailsService to operate with</param> /// <param name="voteForDateRepository">VoteForDateRepository to operate with</param> /// <param name="voteForPlaceRepository">VoteForPlaceRepository to operate with</param> public VotingService(IEventDetailsService eventDetailsService, VoteForDateRepository voteForDateRepository, VoteForPlaceRepository voteForPlaceRepository) { _eventDetailsService = eventDetailsService; _voteForDateRepository = voteForDateRepository; _voteForPlaceRepository = voteForPlaceRepository; }
public MergeController( ITicketinoService ticketinoService, IEventDetailsService eventDetailsService ) { this.ticketinoService = ticketinoService; this.eventDetailsService = eventDetailsService; }
public EventService(IEventDetailsService eventDetailsService, IEventSessionizeService eventSessionizeService, IInMemoryCacheService inMemoryCacheService, ILogger <EventService> logger) { _eventDetailsService = eventDetailsService; _eventSessionizeService = eventSessionizeService; _inMemoryCacheService = inMemoryCacheService; _logger = logger; }
public AdminController(IEventDetailsService eventDetailsService, IEventService eventService, ISessionizeService sessionizeService, IEventSessionizeService eventSessionizeService, IOptions <SessionizeConfig> sessionizeConfig, IMemoryCache memoryCache) { _eventDetailsService = eventDetailsService; _eventService = eventService; _sessionizeService = sessionizeService; _eventSessionizeService = eventSessionizeService; _memoryCache = memoryCache; }