diff options
| author | transtrike <transtrike@gmail.com> | 2020-12-15 10:23:46 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2020-12-15 10:23:46 +0200 |
| commit | 09c8fc48a6a49c3c36df69ba2747088ac652054b (patch) | |
| tree | 9b25a521cf3effb63d1a06eb8496475eb201b8aa /src/DevHive.Data/Repositories/IRepository.cs | |
| parent | 86800d2c5bcee9aae5162eb71c846ca5f91df761 (diff) | |
| download | DevHive-09c8fc48a6a49c3c36df69ba2747088ac652054b.tar DevHive-09c8fc48a6a49c3c36df69ba2747088ac652054b.tar.gz DevHive-09c8fc48a6a49c3c36df69ba2747088ac652054b.zip | |
Changed object to Guid in IRepository
Diffstat (limited to 'src/DevHive.Data/Repositories/IRepository.cs')
| -rw-r--r-- | src/DevHive.Data/Repositories/IRepository.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/DevHive.Data/Repositories/IRepository.cs b/src/DevHive.Data/Repositories/IRepository.cs index 81a1a35..f9ad2c5 100644 --- a/src/DevHive.Data/Repositories/IRepository.cs +++ b/src/DevHive.Data/Repositories/IRepository.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using System.Threading.Tasks; @@ -13,12 +14,12 @@ namespace Data.Models.Interfaces.Database IEnumerable<TEntity> Query(int count); //Find entity by id - Task<TEntity> FindByIdAsync(object id); + Task<TEntity> FindByIdAsync(Guid id); //Modify Entity from database - Task EditAsync(object id, TEntity newEntity); + Task EditAsync(Guid id, TEntity newEntity); //Delete Entity from database - Task DeleteAsync(object id); + Task DeleteAsync(Guid id); } }
\ No newline at end of file |
