Skip to content

Instantly share code, notes, and snippets.

@cuonghuynh
Last active September 7, 2018 09:43
Show Gist options
  • Save cuonghuynh/9634f31aab49bb9c9af924d150c7b794 to your computer and use it in GitHub Desktop.
Save cuonghuynh/9634f31aab49bb9c9af924d150c7b794 to your computer and use it in GitHub Desktop.
Repository and Manager
Repository has only responsibility to QUERY (R) one or all entites by a specific set criteria
Manager contains business code to create, update, delete entities (CUD). It ships the repository inside.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment