From 0a742d4372c91e02ad0267899c6d71368fa87446 Mon Sep 17 00:00:00 2001 From: transtrike Date: Wed, 16 Dec 2020 21:55:37 +0200 Subject: IRepository should return bool for void operations --- src/DevHive.Data/Repositories/IRepository.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/DevHive.Data/Repositories') 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 AddAsync(TEntity entity); //Find entity by id Task GetByIdAsync(Guid id); //Modify Entity from database - Task EditAsync(TEntity newEntity); + Task EditAsync(TEntity newEntity); //Delete Entity from database - Task DeleteAsync(TEntity entity); + Task DeleteAsync(TEntity entity); } } \ No newline at end of file -- cgit v1.2.3