Skip to content

Instantly share code, notes, and snippets.

@dileno
Created September 12, 2019 10:19
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 dileno/66280843b4200222f19700b6b7bf673c to your computer and use it in GitHub Desktop.
Save dileno/66280843b4200222f19700b6b7bf673c to your computer and use it in GitHub Desktop.
IDataRepository
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