Esempio n. 1
0
 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;
 }
Esempio n. 3
0
 /// <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 VoteController()
 {
     _votingService = new VotingService();
     _eventManagementService = new EventManagementService();
     _eventDetailsService = new EventDetailsService();
     _placeService = new PlaceService();
 }
Esempio n. 5
0
 public MergeController(
     ITicketinoService ticketinoService,
     IEventDetailsService eventDetailsService
     )
 {
     this.ticketinoService    = ticketinoService;
     this.eventDetailsService = eventDetailsService;
 }
Esempio n. 6
0
 public EventService(IEventDetailsService eventDetailsService,
                     IEventSessionizeService eventSessionizeService,
                     IInMemoryCacheService inMemoryCacheService,
                     ILogger <EventService> logger)
 {
     _eventDetailsService    = eventDetailsService;
     _eventSessionizeService = eventSessionizeService;
     _inMemoryCacheService   = inMemoryCacheService;
     _logger = logger;
 }
Esempio n. 7
0
 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;
 }