uow and di basic implementation
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user