Skip to content

Commit

Permalink
Create the user service
Browse files Browse the repository at this point in the history
  • Loading branch information
juncevich committed Dec 13, 2023
1 parent 49625fb commit adcef92
Showing 1 changed file with 25 additions and 0 deletions.
@@ -0,0 +1,25 @@
package com.relay.chatservice.user;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class UserService {

private final UserRepository userRepository;

public void saveUser(User user) {

}

public void disconnect(User user) {

}

public List<User> findConnectedUsers() {
return null;
}
}

0 comments on commit adcef92

Please sign in to comment.