service_man/api/repository/user.py

10 lines
212 B
Python

from api.uow.uow_base import UowBase
class UserRepository:
def __init__(self, uow: UowBase) -> None:
self.uow = uow
async def get_all_users(self):
return await self.uow.get_all_users()