public CommandDispatcher(IServiceProvider seviceProvider, SeatReservationContext context) { if (seviceProvider == null) { throw new ArgumentNullException(nameof(seviceProvider)); } if (context == null) { throw new ArgumentNullException(nameof(context)); } _serviceProvider = seviceProvider; _context = context; }
public CreateEventCommandHandler(SeatReservationContext context) { _context = context; }
public UpcommingEventsQueryHandler(SeatReservationContext context) { _context = context; }