示例#1
0
        public async Task <IEnumerable <LecturerResource> > GetAllLecturers()
        {
            var lecturers = await repository.GetAllLecturers();

            return(mapper.Map <IEnumerable <Lecturer>, IEnumerable <LecturerResource> >(lecturers));
        }