public static TeacherExamModel ToModel(this TeacherExam entity) { return(entity.MapTo <TeacherExam, TeacherExamModel>()); }