Files
Carlos-Mesquita fa028aa0e7 Forgot a print
2024-12-11 15:31:35 +00:00

13 lines
397 B
Python

from ielts_be.controllers import IUserController
from ielts_be.services import IUserService
from ielts_be.dtos.user_batch import BatchUsersDTO
class UserController(IUserController):
def __init__(self, user_service: IUserService):
self._service = user_service
async def batch_import(self, batch: BatchUsersDTO):
return await self._service.batch_users(batch)