Skip to content

Instantly share code, notes, and snippets.

@fatagun
Last active June 1, 2016 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatagun/2d1999f13640cdd6a23b33ba87c59586 to your computer and use it in GitHub Desktop.
Save fatagun/2d1999f13640cdd6a23b33ba87c59586 to your computer and use it in GitHub Desktop.
interface CustomerService
{
// Queries
Customer GetCustomer(int id);
IEnumerable<Customer> GetPreferredCustomers();
// Commands
void CreateCustomer(Customer customer);
void EditCustomer(CustomerDetails customerDetails);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment