/// <summary>
 /// This injects the IOrchestraRepository into the Home Controller constructor
 /// </summary>
 public HomeController(IOrchestraRepository repo)
 {
     _repo = repo;
 }
 public OrchestraService(IOrchestraRepository orchestraRepository)
 {
     this.orchestraRepository = orchestraRepository;
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 5
0
 /// <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;
 }
Exemplo n.º 7
0
 public LeadArtistService(IOrchestraRepository orchestraRepository, ILeadArtistRepository leadArtistRepository)
 {
     this.orchestraRepository  = orchestraRepository;
     this.leadArtistRepository = leadArtistRepository;
 }