/// <summary> /// Get detailed list of BOls assigened to passesd appointment list /// </summary> /// <param name="appointmentIdlist"></param> /// <returns></returns> internal IEnumerable <AppointmentBol> GetScheduledBols(IEnumerable <int> appointmentIdlist, bool?shipped) { if (!appointmentIdlist.Any()) { // Avoid the query return(Enumerable.Empty <AppointmentBol>()); } return(_repos.GetScheduledAppointmentBols(appointmentIdlist, shipped)); }