Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
public interface CustomeRepository
{
Customer GetCustomerById(Guid id);
IEnumerable<Customer> SearchCustomersByName(string name);
IEnumerable<Customer> SearchCustomersByNameAndRegion(string name, Region region);
IEnumerable<Customer> GetActiveCustomers();
IEnumerable<Customer> GetCustomersByPricingLevel(PricingLevel pricingLevel);
IEnumerable<Customer> GetCustomersByPricingLevel(PricingLevel pricingLevel, bool active);
IEnumerable<Customer> GetCustomersByRegion(Region region);
IEnumerable<Customer> GetCustomersByRegion(Region region, bool active);
IEnumerable<Customer> GetCustomersByRegionAndPricingLevel(Region region, PricingLevel pricingLevel);
IEnumerable<Customer> GetCustomersByRegionAndPricingLevel(Region region, PricingLevel pricingLevel, bool active);
}

Typo: CustomeRepository => CustomerRepository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment