Added assinment and user
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
package com.plannaplan.services;
|
||||
|
||||
import com.plannaplan.interfaces.EventCreator;
|
||||
import com.plannaplan.repositories.AssignmentRepository;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class AssignmentService implements EventCreator {
|
||||
@Autowired
|
||||
AssignmentRepository repo;
|
||||
|
||||
@Override
|
||||
public void update() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.plannaplan.services;
|
||||
|
||||
import com.plannaplan.interfaces.EventCreator;
|
||||
import com.plannaplan.repositories.UserRepository;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class UserService implements EventCreator {
|
||||
@Autowired
|
||||
UserRepository repo;
|
||||
|
||||
@Override
|
||||
public void update() {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user