Monday, 27 August 2018

Repository as only communication with Data Layer?

I am following clean architecture, and I understand the use of the repository for actions like getUsers or queryUsers. However does not make sense to me the use of a repository to login a user. How should I communicate with the Data Layer then, should I skip the repository layer and access the network layer?



from Repository as only communication with Data Layer?

No comments:

Post a Comment