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