public IEnumerable <LectureDto> GetUserSubscribedLectures(int userId)
 {
     return(_mapper.Map <IEnumerable <LectureDto> >(_lectureRepository.GetWhere(l =>
                                                                                l.RoleInLectures.Any(r => r.UserId == userId && r.Role == Role.Listener))));
 }