As I have learned about Application Service layer, it must be stateless i.e. it shouldn't store any dynamic data in properties or fields. So different instances of Application Service would do almost the same thing. So does it mean we may implement it as a static class or using singleton pattern?
Aucun commentaire:
Enregistrer un commentaire