Repository design pattern: use to call model - eloquent - CRUD, 
Ex:
- saveMessage
 - deleteMessage
 - ....
 
Service design pattern: call to Repository (many)
Ex:
- transaction is place here
 - if service is complicated -> create small service
 
Repository design pattern: use to call model - eloquent - CRUD, 
Ex:
Service design pattern: call to Repository (many)
Ex:
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)