Adding Venue+Location creation.

This commit is contained in:
stephb9959
2022-03-06 09:53:18 -08:00
parent fca6ca235a
commit a870c5130b
23 changed files with 100 additions and 71 deletions

View File

@@ -22,12 +22,11 @@ namespace OpenWifi {
Poco::Net::HTTPRequest::HTTP_OPTIONS},
Server,
TransactionId,
Internal),
DB_(StorageService()->InventoryDB()){}
Internal){}
static const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/inventory/{serialNumber}"}; };
private:
InventoryDB &DB_;
InventoryDB &DB_=StorageService()->InventoryDB();
void DoGet() final;
void DoPost() final;
void DoPut() final;