Added Model namespace

This commit is contained in:
kdeng00
2019-09-01 13:54:16 -04:00
parent 1255aa0ff7
commit d44a5bb1bc
19 changed files with 131 additions and 205 deletions
+6 -6
View File
@@ -15,16 +15,16 @@ class songRepository : public base_repository
public:
songRepository(const std::string&);
std::vector<Song> retrieveRecords();
std::vector<Model::Song> retrieveRecords();
Song retrieveRecord(Song&, songFilter);
Model::Song retrieveRecord(Model::Song&, songFilter);
void deleteRecord(const Song&);
void saveRecord(const Song&);
void deleteRecord(const Model::Song&);
void saveRecord(const Model::Song&);
private:
std::vector<Song> parseRecords(MYSQL_RES*);
std::vector<Model::Song> parseRecords(MYSQL_RES*);
Song parseRecord(MYSQL_RES*);
Model::Song parseRecord(MYSQL_RES*);
};
#endif