18template <
typename DTO>
21 [[nodiscard]]
virtual bool create(
const DTO&
object)
noexcept = 0;
23 [[nodiscard]]
virtual bool remove(
size_t index)
noexcept = 0;
25 [[nodiscard]]
virtual DTO
get(
size_t index)
const noexcept = 0;
27 [[nodiscard]]
virtual bool update(
const DTO&
object)
noexcept = 0;
Definition IRepository.hpp:19
virtual bool update(const DTO &object) noexcept=0
virtual bool remove(size_t index) noexcept=0
virtual bool create(const DTO &object) noexcept=0
virtual DTO get(size_t index) const noexcept=0