Ejemplo n.º 1
0
 public VenueController(IConcertRepository concertRepository, IVenueRepository venueRepository)
     : base(concertRepository, venueRepository)
 {
     // Setup Callbacks
     concertRepository.StatusCallback = DisplayMessage;
     venueRepository.StatusCallback = DisplayMessage;
 }
Ejemplo n.º 2
0
 public BaseController(IConcertRepository concertRepository, IVenueRepository venueRepository)
     : this()
 {
     // Setup Fields
     _concertRepository = concertRepository;
     _venueRepository = venueRepository;
 }
        public VenueAdministrationController(IVenueMetaDataRepository venueMetaDataRepository, IVenueRepository venueRepository)
        {
            // Setup Fields
            _venueMetaDataRepository = venueMetaDataRepository;
            _venueRepository = venueRepository;

            // Setup Callbacks
            _venueMetaDataRepository.StatusCallback = DisplayMessage;
            _venueRepository.StatusCallback = DisplayMessage;
        }
Ejemplo n.º 4
0
        public HomeController(IConcertRepository concertRepository, IVenueRepository venueRepository)
            : base(concertRepository, venueRepository)
        {
            // Setup Fields
            _concertRepository = concertRepository;
            _venueRepository = venueRepository;

            // Setup Callbacks
            concertRepository.StatusCallback = DisplayMessage;
            venueRepository.StatusCallback = DisplayMessage;
        }
        public EventAdministrationController(IConcertRepository concertRepository, IArtistRepository artistRepository, IVenueRepository venueRepository, ICityRepository cityRepository)
        {
            // Setup Fields
            _concertRepository = concertRepository;
            _artistRepository = artistRepository;
            _venueRepository = venueRepository;
            _cityRepository = cityRepository;

            // Setup Callbacks
            _concertRepository.StatusCallback = DisplayMessage;
            _artistRepository.StatusCallback = DisplayMessage;
            _venueRepository.StatusCallback = DisplayMessage;
            _cityRepository.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;
        }
Ejemplo n.º 7
0
 public VenueService(IVenueRepository venueRepository, IAdministratorService administratorService)
 {
     m_VenueRepository = venueRepository;
     m_AdministratorService = administratorService;
 }
Ejemplo n.º 8
0
		public VenuesController(IVenueRepository repo) 
		{
			repository = repo;
		}
Ejemplo n.º 9
0
 public VenueVmMapper(IVenueRepository venueRepository)
 {
     _venueRepository = venueRepository;
 }