uow and di basic implementation
This commit is contained in:
@@ -7,4 +7,6 @@ class UserService:
|
||||
|
||||
async def get_all_users(self):
|
||||
async with self.uow:
|
||||
await self.uow.users.find_all()
|
||||
res = await self.uow.users.find_all()
|
||||
|
||||
return res
|
||||
|
Reference in New Issue
Block a user