refactor student and logic

This commit is contained in:
Patrick
2025-10-29 09:53:42 +01:00
parent 599823deeb
commit d6eea4cc57
10 changed files with 130 additions and 275 deletions

View File

@ -0,0 +1,11 @@
package com.ebrains.cruddemo.service;
import com.ebrains.cruddemo.entity.Student;
import org.springframework.stereotype.Service;
@Service
public interface StudentService {
Student getStudentById(long id);
void saveStudent(Student student);
void deleteStudentById(long id);
}