private and course
This commit is contained in:
@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
|
||||
@Service
|
||||
public class AssignmentService implements EventCreator {
|
||||
@Autowired
|
||||
AssignmentRepository repo;
|
||||
private AssignmentRepository repo;
|
||||
|
||||
@Override
|
||||
public void update() {
|
||||
|
@ -0,0 +1,12 @@
|
||||
package com.plannaplan.services;
|
||||
|
||||
import com.plannaplan.repositories.CourseRepository;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class CourseService {
|
||||
@Autowired
|
||||
private CourseRepository repo;
|
||||
}
|
@ -8,5 +8,5 @@ import org.springframework.stereotype.Service;
|
||||
@Service
|
||||
public class LecturerService {
|
||||
@Autowired
|
||||
LecturerRepository repo;
|
||||
private LecturerRepository repo;
|
||||
}
|
@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
|
||||
@Service
|
||||
public class UserService implements EventCreator {
|
||||
@Autowired
|
||||
UserRepository repo;
|
||||
private UserRepository repo;
|
||||
|
||||
@Override
|
||||
public void update() {
|
||||
|
Reference in New Issue
Block a user