diff options
Diffstat (limited to 'src/DevHive.Data/Repositories/IRepository.cs')
| -rw-r--r-- | src/DevHive.Data/Repositories/IRepository.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DevHive.Data/Repositories/IRepository.cs b/src/DevHive.Data/Repositories/IRepository.cs index f12ad3e..96762b9 100644 --- a/src/DevHive.Data/Repositories/IRepository.cs +++ b/src/DevHive.Data/Repositories/IRepository.cs @@ -7,15 +7,15 @@ namespace Data.Models.Interfaces.Database where TEntity : class { //Add Entity to database - Task AddAsync(TEntity entity); + Task<bool> AddAsync(TEntity entity); //Find entity by id Task<TEntity> GetByIdAsync(Guid id); //Modify Entity from database - Task EditAsync(TEntity newEntity); + Task<bool> EditAsync(TEntity newEntity); //Delete Entity from database - Task DeleteAsync(TEntity entity); + Task<bool> DeleteAsync(TEntity entity); } }
\ No newline at end of file |
