public IEnumerable <TimeSlot> GetTimeSlots() { ITimeSlotRepository timeSlotRepository = _DataRepositoryFactory.GetDataRepository <ITimeSlotRepository>(); IEnumerable <TimeSlot> timeSlots = timeSlotRepository.Get(); return(timeSlots); }
public IEnumerable <TimeSlot> GetTimeSlots() { IEnumerable <TimeSlot> timeSlots = _TimeSlotRepository.Get(); return(timeSlots); }