Add all layers.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package org.sportshub.exposition.user;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import org.sportshub.application.user.UserUseCases;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/users")
|
||||
public class UserController {
|
||||
private final UserUseCases userUseCases;
|
||||
|
||||
public UserController(final UserUseCases userUseCases) {
|
||||
this.userUseCases = userUseCases;
|
||||
}
|
||||
|
||||
@PostMapping
|
||||
public String login() {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user