droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
ProductRepository Class Reference

#include <ProductRepository.hpp>

Inheritance diagram for ProductRepository:
Collaboration diagram for ProductRepository:

Public Member Functions

auto create (const ProductDTO &object) -> bool override
 
auto remove (size_t id) -> bool override
 
auto get (size_t id) -> ProductDTO override
 
auto update (const ProductDTO &object) -> bool override
 
- Public Member Functions inherited from IRepository< ProductDTO >

Member Function Documentation

◆ create()

auto ProductRepository::create ( const ProductDTO & object) -> bool
nodiscardoverridevirtual

◆ get()

auto ProductRepository::get ( size_t id) -> ProductDTO
nodiscardoverridevirtual

◆ remove()

auto ProductRepository::remove ( size_t id) -> bool
nodiscardoverridevirtual

◆ update()

auto ProductRepository::update ( const ProductDTO & object) -> bool
nodiscardoverridevirtual

The documentation for this class was generated from the following files: