Beispiel #1
0
 public AttendeesController(IAttendeeService attendeeService,
                            IAgencyService agencyService,
                            IExcelService excelService)
 {
     _attendeeService = attendeeService;
     _agencyService   = agencyService;
     _excelService    = excelService;
 }
Beispiel #2
0
 public TalkService(IUnitOfWork unitOfWork,
                    IAttendeeService attendeeService,
                    IMapper mapper)
 {
     _unitOfWork      = unitOfWork;
     _attendeeService = attendeeService;
     _mapper          = mapper;
 }
 public ExcelService(IWorkshopService workshopService,
                     IAttendeeService attendeeService,
                     IAttendeeHourService attendeeHourService)
 {
     _workshopService     = workshopService;
     _attendeeService     = attendeeService;
     _attendeeHourService = attendeeHourService;
 }
Beispiel #4
0
 public AttendeeHoursController(IAttendeeHourService attendeeHourService,
                                IWorkshopService workshopService,
                                IAttendeeService attendeeService)
 {
     _attendeeHourService = attendeeHourService;
     _workshopService     = workshopService;
     _attendeeService     = attendeeService;
 }
 public EventController(IEventService eventService, IServiceSlotService serviceSlotService, IAttendeeService attendeeService, IEventLocationService eventLocationService, IAgreementService agreementService)
 {
     _eventService         = eventService;
     _serviceSlotService   = serviceSlotService;
     _attendeeService      = attendeeService;
     _eventLocationService = eventLocationService;
     _agreementService     = agreementService;
 }
 /// <summary>
 /// Controller for hub endpoints relative to pupils management
 /// </summary>
 /// <param name="authenticationService">Authentication service</param>
 /// <param name="attendeeService">Attendee service</param>
 /// <param name="hubService">Hub service</param>
 /// <param name="moduleService">Module service</param>
 /// <param name="pupilService">Pupil service</param>
 public PupilsController(IAttendeeService attendeeService, IAuthenticationService authenticationService,
                         IHubService hubService, IModuleService moduleService, IPupilService pupilService)
 {
     _attendeeService       = attendeeService;
     _authenticationService = authenticationService;
     _hubService            = hubService;
     _moduleService         = moduleService;
     _pupilService          = pupilService;
 }
        public When_executing_AttendeeService()
        {
            _mockConferenceDataProvider = new Mock <IConferenceDataProvider>();
            _mockConferenceDataProvider.Setup(d => d.GetAttendees).Returns(new List <User> {
                new User()
            }.AsQueryable());

            _attendeeService = new AttendeeService(_mockConferenceDataProvider.Object);
        }
Beispiel #8
0
        public AttendeeAdminController(IOrchardServices orchardServices, IAttendeeService attendeeService, ISiteService siteService, IShapeFactory shapeFactory)
        {
            _orchardServices = orchardServices;
            _attendeeService = attendeeService;
            _siteService     = siteService;

            Shape = shapeFactory;
            T     = NullLocalizer.Instance;
        }
Beispiel #9
0
        public AttendeesController(IAttendeeService attendeeService,
                                   IOptions <Attendee> attendee,
                                   IConfiguration configuration)
        {
            _attendeeService = attendeeService;

            // APP SETTINGS APPROACH 1: strongly-typed IOptions<T>
            _attendee = attendee.Value;

            // APP SETTINGS APPROACH 2: IConfiguration.GetValue
            _configuration = configuration;
        }
 public SwagEmController(IAttendeeService attendeeService, ISwagService swagService)
 {
     _attendeeService = attendeeService;
     _swagService     = swagService;
 }
 public AttendeeController(IHttpContextAccessor httpContextAccessor, IAttendeeService service)
 {
     _attendeeService     = service;
     _httpContextAccessor = httpContextAccessor;
 }
 public AttendeeController(IAttendeeService attendeeService)
 {
     _attendeeService = attendeeService;
 }
 public AttendeeAppService(IAttendeeRepository atendeeRepository, IAttendeeService atendeeService, IUnitOfWork uow) : base(uow)
 {
     _atendeeRepository = atendeeRepository;
     _atendeeService    = atendeeService;
 }
Beispiel #14
0
 public TeamDriver(ITeamService teamService, IAttendeeService attendeeService, ICupService cupService)
 {
     _teamService     = teamService;
     _attendeeService = attendeeService;
     _cupService      = cupService;
 }
 public AttendeesController(IAttendeeService attendeeService, IUnitOfWorkAsync unitOfWork)
 {
     _attendeeService = attendeeService;
     _unitOfWork = unitOfWork;
 }
 public AttendeesController(ILogger <AttendeesController> logger, IAttendeeService attendeeService)
 {
     _logger          = logger ?? throw new ArgumentNullException(nameof(logger));
     _attendeeService = attendeeService ?? throw new ArgumentNullException(nameof(attendeeService));
 }
Beispiel #17
0
 public TeamService(IOrchardServices orchardServices, ITeamAttendeeService teamAttendeeService, IAttendeeService attendeeService)
     : base(orchardServices)
 {
     _teamAttendeeService = teamAttendeeService;
     _attendeeService     = attendeeService;
 }
Beispiel #18
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="context">Database context</param>
 /// <param name="attendeeService">Attendee service</param>
 public HubService(IInTechNetContext context, IAttendeeService attendeeService)
 => (_context, _attendeeService) = (context, attendeeService);
Beispiel #19
0
 public AttendeesController(IAttendeeService attendeeService, ILogger <AttendeesController> logger)
 {
     _attendeeService = attendeeService;
     _logger          = logger;
 }
Beispiel #20
0
 public AttendeeController(IAttendeeService service) : base(service)
 {
 }
 public AttendeeController(IAttendeeService attendeeService)
 {
     _attendeeService = attendeeService;
 }
Beispiel #22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AttendeesController"/> class.
 /// </summary>
 /// <param name="attendeeService">
 /// The attendee service.
 /// </param>
 public AttendeesController(IAttendeeService attendeeService)
 {
     this._attendeeService = attendeeService;
 }
 public AttendeeController(IAttendeeService service)
 {
     this._service = service;
 }
Beispiel #24
0
 public MeetingController(IMeetingService meetingService, IAttendeeService attendeeService, modelContext modelContext)
 {
     _meetingService   = meetingService;
     _attendeeService  = attendeeService;
     this.modelContext = modelContext;
 }