Example #1
0
        public async Task <ActionResult <LectureDto> > GetAll(string name, bool includeSpeakers = false)
        {
            var lectures = await _eventDayRepo.GetAllLecturesAsync(name, includeSpeakers);

            var model = _mapper.Map <LectureDto[]>(lectures);

            return(Ok(model));
        }