aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Interfaces/IPostRepository.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-01-15 16:45:30 +0200
committertranstrike <transtrike@gmail.com>2021-01-15 16:45:30 +0200
commit5514f1109cb3689fa81b29bb2d7dcf84cc05f65f (patch)
treeeb7804834b13f210403efa77bf0f0ece0218584f /src/DevHive.Data/Interfaces/IPostRepository.cs
parente0c6b1a631fb50b2bb985a85ddf6af57cb76e09b (diff)
downloadDevHive-5514f1109cb3689fa81b29bb2d7dcf84cc05f65f.tar
DevHive-5514f1109cb3689fa81b29bb2d7dcf84cc05f65f.tar.gz
DevHive-5514f1109cb3689fa81b29bb2d7dcf84cc05f65f.zip
Extracted Interfaces from every DevHive.Data class; Tidied up the DevHive.Interfaces
Diffstat (limited to 'src/DevHive.Data/Interfaces/IPostRepository.cs')
-rw-r--r--src/DevHive.Data/Interfaces/IPostRepository.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/DevHive.Data/Interfaces/IPostRepository.cs b/src/DevHive.Data/Interfaces/IPostRepository.cs
deleted file mode 100644
index a02fd08..0000000
--- a/src/DevHive.Data/Interfaces/IPostRepository.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System;
-using System.Threading.Tasks;
-using DevHive.Data.Models;
-using DevHive.Data.Repositories.Interfaces;
-
-namespace DevHive.Data.Interfaces
-{
- public interface IPostRepository : IRepository<Post>
- {
- Task<bool> AddCommentAsync(Comment entity);
-
- Task<Comment> GetCommentByIdAsync(Guid id);
-
- Task<bool> EditCommentAsync(Comment newEntity);
-
- Task<bool> DeleteCommentAsync(Comment entity);
- Task<bool> DoesCommentExist(Guid id);
- Task<bool> DoesPostExist(Guid postId);
- }
-}