Created
September 12, 2019 10:19
-
-
Save dileno/66280843b4200222f19700b6b7bf673c to your computer and use it in GitHub Desktop.
IDataRepository
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 IDataRepository<T> where T : class | |
{ | |
void Add(T entity); | |
void Update(T entity); | |
void Delete(T entity); | |
Task<T> SaveAsync(T entity); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment