refactor student and logic
This commit is contained in:
@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user