Ejemplo n.º 1
0
        public void Setup()
        {
            var context = new BookingsDbContext(BookingsDbContextOptions);

            _getHearingByIdQueryHandler   = new GetHearingByIdQueryHandler(context);
            _getHearingVenuesQueryHandler = new GetHearingVenuesQueryHandler(context);
            _commandHandler = new UpdateHearingCommandHandler(context);
            _newHearingId   = Guid.Empty;
        }
 public void Setup()
 {
     var context = new BookingsDbContext(BookingsDbContextOptions);
     _handler = new GetHearingVenuesQueryHandler(context);
 }