This commit is contained in:
2026-03-01 15:58:47 +03:00
parent 1110d89bb0
commit cf0b0309fc
12 changed files with 430 additions and 95 deletions
@@ -50,3 +50,6 @@ class UsersRepository:
async def get_all_users(self) -> list[User]:
return await self.users_dao.get_all()
async def update_user(self, user_id: int, **kwargs) -> User | None:
return await self.users_dao.update(user_id, **kwargs)