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
 

Member Function Documentation

◆ create()

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

◆ get()

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

◆ remove()

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

◆ update()

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

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