Skip to content

Instantly share code, notes, and snippets.

@migsalazar
Last active May 13, 2016 13:58
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 migsalazar/57f0221bf6a423b53b15 to your computer and use it in GitHub Desktop.
Save migsalazar/57f0221bf6a423b53b15 to your computer and use it in GitHub Desktop.
Repository - EntityRepository
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