diff options
| Commit | 6a85255c78a448256fab68cd361983ffc85f2b03 (patch) | |
|---|---|---|
| Author | 2020-12-11 14:35:39 +0200 | |
| Committer | 2020-12-11 14:35:39 +0200 | |
| Files | e4b4c3071a59fecf120d8ebddb7d366bdc653628 /Models/Interfaces | |
| DevHive-6a85255c78a448256fab68cd361983ffc85f2b03.tar DevHive-6a85255c78a448256fab68cd361983ffc85f2b03.tar.gz DevHive-6a85255c78a448256fab68cd361983ffc85f2b03.zip | ||
| Parent | eb7c817329bcdd9eb520c6760bacf84d6f45f20d (diff) | |
Renamed Models to Data
1 files changed, 0 insertions, 24 deletions
| -rw-r--r-- | Models/Interfaces/Database/IRepository.cs | 24 |
diff --git a/Models/Interfaces/Database/IRepository.cs b/Models/Interfaces/Database/IRepository.cs deleted file mode 100644 index 449a807..0000000 --- a/Models/Interfaces/Database/IRepository.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Models.Interfaces.Database -{ - public interface IRepository<TEntity> - where TEntity : class - { - //Add Entity to database - Task AddAsync(TEntity entity); - - //Return *count* instances of Entity from the database - IEnumerable<TEntity> Query(int count); - - //Find entity by id - Task<TEntity> FindByIdAsync(object id); - - //Modify Entity from database - Task EditAsync(object id, TEntity newEntity); - - //Delete Entity from database - Task DeleteAsync(object id); - } -}
\ No newline at end of file |
