Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created November 4, 2020 22:28
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 dcomartin/40da37f6e8950033aba65c575a980e86 to your computer and use it in GitHub Desktop.
Save dcomartin/40da37f6e8950033aba65c575a980e86 to your computer and use it in GitHub Desktop.
public interface ICustomerWriteService
{
void MakeCustomerPreferred(Guid customerId);
void ChangeCustomerLocale(Guid customerId, CultureInfo newLocale);
void CreateCustomer(Customer customer);
void EditCustomerDetails(CustomerDetails customerDetails);
}
public interface ICustomerReadService
{
Customer GetCustomer(Guid customerId);
IEnumerable<Customer> GetCustomersWithName(string name);
IEnumerable<Customer> GetPreferredCustomers();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment