I have a web service that supports RESTful CRUD operations: Add, Delete, Update. On my client (Xamarin) I obviously I want to hide this behind an interface for mocking and possibly using a different technology to store my objects.
Would you use a Repository Pattern, Service Layer Pattern or another pattern? It seems like there's little difference whether you're persisting to a flat file, a database or a web service.
Aucun commentaire:
Enregistrer un commentaire