Завершенная регистрация

This commit is contained in:
Антон
2025-08-31 09:14:12 +03:00
parent 9112bc21db
commit 25fe40a8ad
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ public:
virtual std::optional<User> GetByLogin(std::string login) = 0;
virtual std::vector<User> GetAll() = 0;
virtual std::vector<User> GetAll(size_t limit, size_t offset) = 0;
virtual bool Update(const User& u) = 0;
+1 -1
View File
@@ -47,7 +47,7 @@ optional<User> MySQLUserDAO::GetByLogin(string login)
return GetSingleUserBySQLResult(std::move(sql_result));
}
vector<User> MySQLUserDAO::GetAll()
vector<User> MySQLUserDAO::GetAll(size_t limit, size_t offset)
{
vector<User> users{};
+1 -1
View File
@@ -16,7 +16,7 @@ public:
std::optional<User> GetByLogin(std::string login) override;
std::vector<User> GetAll() override;
std::vector<User> GetAll(size_t limit, size_t offset) override;
bool Update(const User& u) override;