public List <ExceptStudentSearchMiddle> SearchExceptStudengSearchService(ExceptStudengSearchInfoVIewModel exceptStudentSearchInfoVIewModel) { var resultsearch = exceptStudentRepository.searchByemploytoclass(exceptStudentSearchInfoVIewModel); var result = _IMapper.Map <List <Except_Info_Student>, List <ExceptStudentSearchMiddle> >(resultsearch); return(result); }