Пересматриваем решение на счёт SQL

This commit was merged in pull request #4.
This commit is contained in:
2025-03-26 22:14:58 +05:00
parent d47988adda
commit b16ae39263
37 changed files with 852 additions and 758 deletions

View File

@@ -0,0 +1,12 @@
// #define BUILD_SERVICES
#include "AuthorService.h"
QVector<model::Author> AuthorService::fetchAll()
{
return AuthorRepository::getAll();
}
bool AuthorService::add(const model::Author& author)
{
return AuthorRepository::insert(author);
}