Created
December 5, 2016 15:27
-
-
Save dcomartin/44484d45e15738d4ec5a088a3bcc792a 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 IProductRepository | |
{ | |
void Insert(Product product); | |
void Delete(Product product); | |
IEnumerable<Product> GetById(Guid id); | |
IEnumerable<Product> GetAllActive(); | |
IEnumerable<Product> FindByName(string name); | |
IEnumerable<Product> FindBySku(string name); | |
IEnumerable<Product> Find(string keyword, int limit, int page); | |
IEnumerable<Product> GetRelated(Guid id); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment