Spaces:
Sleeping
Sleeping
Taki Eddine RAHAL
commited on
Commit
·
4cee981
1
Parent(s):
713d4d2
Add project
Browse files
src/main/java/com/example/demo/DemoApplication.java
CHANGED
@@ -19,13 +19,11 @@ public class DemoApplication {
|
|
19 |
SpringApplication.run(DemoApplication.class, args);
|
20 |
}
|
21 |
|
22 |
-
/*
|
23 |
@GetMapping("count-users")
|
24 |
public String getCountUsers(){
|
25 |
long nbeUsers = userRepository.count();
|
26 |
return "Number of users = "+nbeUsers;
|
27 |
}
|
28 |
-
*/
|
29 |
|
30 |
|
31 |
@GetMapping("add-user")
|
|
|
19 |
SpringApplication.run(DemoApplication.class, args);
|
20 |
}
|
21 |
|
|
|
22 |
@GetMapping("count-users")
|
23 |
public String getCountUsers(){
|
24 |
long nbeUsers = userRepository.count();
|
25 |
return "Number of users = "+nbeUsers;
|
26 |
}
|
|
|
27 |
|
28 |
|
29 |
@GetMapping("add-user")
|