Spaces:
Running
on
Zero
Running
on
Zero
File size: 332 Bytes
b1ce64c |
1 2 3 4 5 6 7 8 9 10 |
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) |