Do you define each business logic function of an application in separate classes in order to not break SRP?

后端 未结 0 1207
情深已故
情深已故 2020-12-14 00:28

If you had a Service class for every business related module such as UserService. You might have AddProductToBasket() and PlaceOrder()

相关标签:
回答
  • 消灭零回复
提交回复
热议问题