Created
April 15, 2018 17:23
-
-
Save NMZivkovic/e3648358e433716f7b236c81af75fed3 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 IReporitory<TEntity> where TEntity : class | |
{ | |
void Add(TEntity entity); | |
void Remove(TEntity entity); | |
TEntity Get(int id); | |
IEnumerable<TEntity> GetAll(); | |
IEnumerable<TEntity> Find(Expression<Func<TEntity, bool>> predicate); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment