public IEnumerable <Models.Instrument> GetInstrumentsByOrchestraId(int orchestraId) { if (orchestraId < 0) { throw new Exception("Invalid Id"); } return(instrumentRepository.GetInstrumentsByOrchestraId(orchestraId)); }
public IEnumerable <Models.Instrument> GetInstrumentsByOrchestraId(int orchestraId) { if (orchestraId < 0) { throw new Exception("Invalid Id"); } return(instrumentRepository.GetInstrumentsByOrchestraId(orchestraId)); }