Last active
July 23, 2018 12:49
-
-
Save adaam2/9ca7334a7fcdfc30725ed5dbb4359137 to your computer and use it in GitHub Desktop.
Basic IRepository
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 IRepository<T> where T : class | |
{ | |
T Find(int id); | |
List<T> All(); | |
void Delete(int id); | |
void Update(T obj); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment