uow and di basic implementation

This commit is contained in:
2024-03-11 07:48:04 +03:00
parent f9631a712b
commit 83bea97f41
8 changed files with 61 additions and 95 deletions

View File

@@ -1,8 +1,8 @@
from api.uow.uow_base import IUnitOfWork
from api.uow.uow_base import UnitOfWork
class UserService:
def __init__(self, uow: IUnitOfWork):
def __init__(self, uow: UnitOfWork):
self.uow = uow
async def get_all_users(self):