/// <summary> /// This injects the IOrchestraRepository into the Home Controller constructor /// </summary> public HomeController(IOrchestraRepository repo) { _repo = repo; }
public OrchestraService(IOrchestraRepository orchestraRepository) { this.orchestraRepository = orchestraRepository; }
public LocationService(IOrchestraRepository orchestraRepository, ILocationRepository locationRepository) { this.orchestraRepository = orchestraRepository; this.locationRepository = locationRepository; }
public OrchestraHistoryService(IOrchestraHistoryRepository orchestraHistoryRepository, IOrchestraRepository orchestraRepository, IUserRepository userRepository) { this.orchestraHistoryRepository = orchestraHistoryRepository; this.userRepository = userRepository; this.orchestraRepository = orchestraRepository; }
/// <summary> /// This injects the IOrchestraRepository into the MusicianController constructor /// </summary> public MusicianController(IOrchestraRepository repo) { _repo = repo; }
/// <summary> /// This injects the IOrchestraRepository into the InstrumentController constructor /// </summary> public InstrumentController(IOrchestraRepository repo) { _repo = repo; }
public LeadArtistService(IOrchestraRepository orchestraRepository, ILeadArtistRepository leadArtistRepository) { this.orchestraRepository = orchestraRepository; this.leadArtistRepository = leadArtistRepository; }