Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created March 12, 2016 19:54
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/62b8577c3dac6db1d8cf to your computer and use it in GitHub Desktop.
Save dcomartin/62b8577c3dac6db1d8cf to your computer and use it in GitHub Desktop.
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
Copy link

Typo: CustomeRepository => CustomerRepository

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