diff options
| Commit | 6f7c7adced972944f5648b3714baa053037a4160 (patch) | |
|---|---|---|
| Author | 2021-02-01 18:28:55 +0200 | |
| Committer | 2021-02-01 18:28:55 +0200 | |
| Files | cac3ca1c9b9cc98c1af84c2b46236075a1f1a2f3 /src/DevHive.Data/Interfaces | |
| DevHive-6f7c7adced972944f5648b3714baa053037a4160.tar DevHive-6f7c7adced972944f5648b3714baa053037a4160.tar.gz DevHive-6f7c7adced972944f5648b3714baa053037a4160.zip | ||
| Parent | 84f9eebd0895e2c23b5718ee408f056e3cf3ebb2 (diff) | |
GetByUsername & GetById return post Ids; Read POst returns URLs
1 files changed, 2 insertions, 0 deletions
| -rw-r--r-- | src/DevHive.Data/Interfaces/Repositories/IPostRepository.cs | 2 |
diff --git a/src/DevHive.Data/Interfaces/Repositories/IPostRepository.cs b/src/DevHive.Data/Interfaces/Repositories/IPostRepository.cs index 5022df5..9f7cf85 100644 --- a/src/DevHive.Data/Interfaces/Repositories/IPostRepository.cs +++ b/src/DevHive.Data/Interfaces/Repositories/IPostRepository.cs @@ -8,6 +8,8 @@ namespace DevHive.Data.Interfaces.Repositories { public interface IPostRepository : IRepository<Post> { + Task<bool> AddNewPostToCreator(Guid userId, Post post); + Task<Post> GetPostByCreatorAndTimeCreatedAsync(Guid issuerId, DateTime timeCreated); Task<List<string>> GetFileUrls(Guid postId); |
