Last active
December 14, 2018 21:23
-
-
Save explorer14/d7cd3c93e7be5318fae628f6a6c2ccb4 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 IRepository | |
{ | |
Task GetOneAsync(Guid id); | |
Task<IEnumerable<TDomainObject>> GetListAsync( | |
Expression<Func<TDomainObject,bool>> predicate); | |
Task AddAsync(TDomainObject domainObject); | |
Task UpdateAsync(TDomainObject updatedEntity); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment