Created
March 12, 2016 19:54
-
-
Save dcomartin/62b8577c3dac6db1d8cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typo: CustomeRepository => CustomerRepository