|
|
@@ -6,9 +6,9 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
6
|
6
|
import org.springframework.http.HttpStatus;
|
|
7
|
7
|
import org.springframework.http.ResponseEntity;
|
|
8
|
8
|
|
|
9
|
|
-import org.springframework.web.bind.annotation.*;
|
|
10
|
|
-
|
|
11
|
|
-import javax.persistence.criteria.CriteriaBuilder;
|
|
|
9
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
10
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
11
|
+import org.springframework.web.bind.annotation.RestController;
|
|
12
|
12
|
|
|
13
|
13
|
@RestController
|
|
14
|
14
|
public class PersonController {
|