diff --git a/backend/src/main/java/com/edufocus/edufocus/registration/service/RegistrationService.java b/backend/src/main/java/com/edufocus/edufocus/registration/service/RegistrationService.java index b01c410..d1cc462 100644 --- a/backend/src/main/java/com/edufocus/edufocus/registration/service/RegistrationService.java +++ b/backend/src/main/java/com/edufocus/edufocus/registration/service/RegistrationService.java @@ -18,5 +18,5 @@ public interface RegistrationService { List searchRegistrations(Long LectureId); - RegistrationStatus getStatus(Long userId, Long lectureId); + //RegistrationStatus getStatus(Long userId, Long lectureId); } diff --git a/backend/src/main/java/com/edufocus/edufocus/registration/service/RegistrationServiceImpl.java b/backend/src/main/java/com/edufocus/edufocus/registration/service/RegistrationServiceImpl.java index 9f89fdb..0225f44 100644 --- a/backend/src/main/java/com/edufocus/edufocus/registration/service/RegistrationServiceImpl.java +++ b/backend/src/main/java/com/edufocus/edufocus/registration/service/RegistrationServiceImpl.java @@ -87,11 +87,11 @@ public class RegistrationServiceImpl implements RegistrationService { return responses; } - @Override - public RegistrationStatus getStatus(Long userId, Long lectureId) { - - Registration registration = registrationRepository.findByUserIdAndLectureId(userId, lectureId); - return registration.getStatus(); - } +// @Override +// public RegistrationStatus getStatus(Long userId, Long lectureId) { +// +// Registration registration = registrationRepository.findByUserIdAndLectureId(userId, lectureId); +// return registration.getStatus(); +// } }