Skip to content

Instantly share code, notes, and snippets.

Embed
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);
}
@testfirstcoder

This comment has been minimized.

Copy link

testfirstcoder commented Oct 26, 2016

Typo: CustomeRepository => CustomerRepository

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.