forked from s485936/PRAPRO2
chore: main controller is now people values controller, as it better suits it's purpose
This commit is contained in:
parent
c01e29d6d2
commit
1896f2582c
@ -1,17 +1,14 @@
|
||||
package com.example.prapro2spring.controller;
|
||||
|
||||
import com.example.prapro2spring.dto.AllPeopleValues;
|
||||
import com.example.prapro2spring.repository.PeopleRepository;
|
||||
import com.example.prapro2spring.service.PersonValueService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/main")
|
||||
public class MainController {
|
||||
public class PeopleValuesController {
|
||||
|
||||
@Autowired
|
||||
private PeopleRepository peopleRepository;
|
||||
@Autowired
|
||||
private PersonValueService PersonValueService;
|
||||
|
Loading…
Reference in New Issue
Block a user