13 lines
250 B
C++
13 lines
250 B
C++
// #define BUILD_SERVICES
|
|
#include "author_service.h"
|
|
|
|
QVector<model::Author> AuthorService::fetchAll()
|
|
{
|
|
return AuthorRepository::getAll();
|
|
}
|
|
|
|
bool AuthorService::add(const model::Author& author)
|
|
{
|
|
return AuthorRepository::insert(author);
|
|
}
|