Last active
May 13, 2016 13:58
-
-
Save migsalazar/57f0221bf6a423b53b15 to your computer and use it in GitHub Desktop.
Repository - EntityRepository
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 class EntityRepository | |
{ | |
private Repository<Entity> repository; | |
public IEnumerable<Entity> FindEntityByName(string name) | |
{ | |
return repository.FindBy(e => e.Name == name); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment