13 lines
249 B
C++
13 lines
249 B
C++
|
|
// #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);
|
||
|
|
}
|