paxol
TTCTheo's Typesafe Cult
•Created by chnmrn. on 7/14/2023 in #questions
Layered architecture decision
I would call ItemRepo.decrease from invoice service layer, the "decrease item quantity when invoice things happen" is a business logic rule, so keep it outside of the repository
12 replies