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);
        }
Exemplo n.º 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;
        }
Exemplo n.º 5
0
        public void Setup()
        {
            var context = new VideoApiDbContext(VideoBookingsDbContextOptions);

            _handler = new UpdateParticipantStatusAndRoomCommandHandler(context);
            _conferenceByIdHandler = new GetConferenceByIdQueryHandler(context);
            _newConferenceIds      = new List <Guid>();
        }
Exemplo n.º 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);
        }