public void Setup()
        {
            var context = new VideoApiDbContext(VideoBookingsDbContextOptions);

            _handler         = new GetConferenceByIdQueryHandler(context);
            _newConferenceId = Guid.Empty;
        }
        public void Setup()
        {
            var context = new VideoApiDbContext(VideoBookingsDbContextOptions);

            _handler = new AddParticipantToParticipantRoomCommandHandler(context);
            _conferenceByIdHandler = new GetConferenceByIdQueryHandler(context);
        }
Exemple #3
0
        public void Setup()
        {
            var context = new VideoApiDbContext(VideoBookingsDbContextOptions);

            _handler = new UpdateConferenceDetailsCommandHandler(context);
            _conferenceByIdHandler = new GetConferenceByIdQueryHandler(context);
            _conferenceId          = Guid.Empty;
        }
        public void Setup()
        {
            var context = new VideoApiDbContext(VideoBookingsDbContextOptions);

            _handler = new RemoveParticipantsFromConferenceCommandHandler(context);
            _conferenceByIdHandler = new GetConferenceByIdQueryHandler(context);
            _newConferenceId       = Guid.Empty;
        }
Exemple #5
0
        public void Setup()
        {
            var context = new VideoApiDbContext(VideoBookingsDbContextOptions);

            _handler = new UpdateParticipantStatusAndRoomCommandHandler(context);
            _conferenceByIdHandler = new GetConferenceByIdQueryHandler(context);
            _newConferenceIds      = new List <Guid>();
        }
Exemple #6
0
        public void Setup()
        {
            var context = new VideoApiDbContext(VideoBookingsDbContextOptions);

            _handler       = new AnonymiseConferencesCommandHandler(context);
            _conference1Id = Guid.Empty;
            _conference2Id = Guid.Empty;
            _conference3Id = Guid.Empty;
            _handlerGetConferenceByIdQueryHandler = new GetConferenceByIdQueryHandler(context);
        }