Exemple #1
0
        public void Setup()
        {
            var context        = new BookingsDbContext(BookingsDbContextOptions);
            var hearingService = new HearingService(context);

            _commandHandler = new UpdateParticipantCommandHandler(context, hearingService);
            _newHearingId   = Guid.Empty;
        }
        public void Setup()
        {
            var context = new BookingsDbContext(BookingsDbContextOptions);

            _getHearingByIdQueryHandler   = new GetHearingByIdQueryHandler(context);
            _getHearingVenuesQueryHandler = new GetHearingVenuesQueryHandler(context);
            _commandHandler = new UpdateParticipantCommandHandler(context);
            _newHearingId   = Guid.Empty;
        }