public async Task <IEnumerable <TimeSlotResource> > GetAllTimeSlots() { var timeSlots = await repository.GetAllTimeSlots(); return(mapper.Map <IEnumerable <TimeSlot>, IEnumerable <TimeSlotResource> >(timeSlots)); }
public async Task <IEnumerable <TimeSlotResource> > GetAllTimeSlots() { var timeSlots = await repository.GetAllTimeSlots(); return(mapper.Map <IEnumerable <TimeSlot>, IEnumerable <TimeSlotResource> >(timeSlots)); }