Skip to content

Instantly share code, notes, and snippets.

@dcomartin

dcomartin/services.cs Secret

Created Nov 4, 2020
Embed
What would you like to do?
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
You can’t perform that action at this time.