База для ручки PostUserMedicationsExecutor.h

This commit is contained in:
2026-01-08 12:12:24 +03:00
parent 8e1db614bf
commit 8657b2910b
2 changed files with 10 additions and 3 deletions
@@ -14,13 +14,13 @@
namespace uad
{
template <class Body, class Allocator, class ResponseType>
class GetUserMedicationsExecutor : public IExecutor<Body, Allocator, ResponseType>
class PostUserMedicationsExecutor : public IExecutor<Body, Allocator, ResponseType>
{
mysqlx::Session& session_;
const std::shared_ptr<IAuthDAO>& auth_dao_;
const std::shared_ptr<IMedicationsDAO>& medications_dao_;
public:
GetUserMedicationsExecutor(
PostUserMedicationsExecutor(
mysqlx::Session& session,
const std::shared_ptr<IAuthDAO>& auth_dao,
const std::shared_ptr<IMedicationsDAO>& medications_dao