public VenueAdministrationController(IVenueMetaDataRepository venueMetaDataRepository, IVenueRepository venueRepository) { // Setup Fields _venueMetaDataRepository = venueMetaDataRepository; _venueRepository = venueRepository; // Setup Callbacks _venueMetaDataRepository.StatusCallback = DisplayMessage; _venueRepository.StatusCallback = DisplayMessage; }
public FindSeatsController(IVenueMetaDataRepository venueMetaDataRepository, IConcertRepository concertRepository, ITicketRepository ticketRepository, IVenueRepository venueRepository, IFindSeatsRepository findSeatsRepository) { // Setup Fields _venueMetaDataRepository = venueMetaDataRepository; _concertRepository = concertRepository; _ticketRepository = ticketRepository; _venueRepository = venueRepository; _findSeatsRepository = findSeatsRepository; // Setup Callbacks _venueMetaDataRepository.StatusCallback = DisplayMessage; _concertRepository.StatusCallback = DisplayMessage; _ticketRepository.StatusCallback = DisplayMessage; _venueRepository.StatusCallback = DisplayMessage; }