File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed
src/main/java/com/github/throyer/common/springboot/controllers Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,6 @@ public class UsersController {
53
53
public ResponseEntity <Page <UserDetails >> index (
54
54
Optional <Integer > page ,
55
55
Optional <Integer > size
56
- // Optional<String> name,
57
- // Optional<String> email,
58
- // ArrayList<String> roles
59
56
) {
60
57
var result = findService .findAll (page , size );
61
58
return ok (result );
Original file line number Diff line number Diff line change 1
1
package com .github .throyer .common .springboot .controllers .app ;
2
2
3
- import com .github .throyer .common .springboot .domain .models .pagination .Page ;
4
- import com .github .throyer .common .springboot .domain .models .pagination .Pagination ;
5
3
import com .github .throyer .common .springboot .domain .models .shared .Type ;
6
- import com .github .throyer .common .springboot .domain .repositories .UserRepository ;
7
4
import com .github .throyer .common .springboot .domain .services .user .FindUserService ;
8
5
import com .github .throyer .common .springboot .domain .services .user .RemoveUserService ;
9
- import com .github .throyer .common .springboot .domain .services .user .dto .SearchUser ;
10
6
import com .github .throyer .common .springboot .utils .Toasts ;
11
7
import java .util .Optional ;
12
8
import org .springframework .beans .factory .annotation .Autowired ;
13
- import org .springframework .data .domain .Sort ;
14
9
import org .springframework .security .access .prepost .PreAuthorize ;
15
10
import org .springframework .stereotype .Controller ;
16
11
import org .springframework .ui .Model ;
@@ -36,9 +31,6 @@ public String index(
36
31
Model model ,
37
32
Optional <Integer > page ,
38
33
Optional <Integer > size
39
- // Optional<String> name,
40
- // Optional<String> email,
41
- // ArrayList<String> roles
42
34
) {
43
35
44
36
var result = findService .findAll (page , size );
You can’t perform that action at this time.
0 commit comments