kenken999's picture
teste
b1ce64c
raw
history blame
332 Bytes
from src.repositories.user_repository import UserRepository
class UserService:
"""Provides user-related functionality"""
def __init__(self):
self.user_repository = UserRepository()
def create_user(self, name, email):
"""Creates a new user"""
return self.user_repository.create_user(name, email)