aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Interfaces/IPostService.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-01-17 13:38:24 +0200
committertranstrike <transtrike@gmail.com>2021-01-17 13:38:24 +0200
commit83f63ad729d585d597bdcf0afc05b7d56344223e (patch)
treeede845ad2790fe6f6f975f3cc5d776782adecf59 /src/DevHive.Services/Interfaces/IPostService.cs
parentb4454f83c3b7d668fc8b18714a659b91576882be (diff)
downloadDevHive-83f63ad729d585d597bdcf0afc05b7d56344223e.tar
DevHive-83f63ad729d585d597bdcf0afc05b7d56344223e.tar.gz
DevHive-83f63ad729d585d597bdcf0afc05b7d56344223e.zip
Lang&Tech layers now return id on Create
Diffstat (limited to 'src/DevHive.Services/Interfaces/IPostService.cs')
-rw-r--r--src/DevHive.Services/Interfaces/IPostService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DevHive.Services/Interfaces/IPostService.cs b/src/DevHive.Services/Interfaces/IPostService.cs
index dd886b4..4364c67 100644
--- a/src/DevHive.Services/Interfaces/IPostService.cs
+++ b/src/DevHive.Services/Interfaces/IPostService.cs
@@ -7,8 +7,8 @@ namespace DevHive.Services.Interfaces
{
public interface IPostService
{
- Task<bool> CreatePost(CreatePostServiceModel postServiceModel);
- Task<bool> AddComment(CreateCommentServiceModel commentServiceModel);
+ Task<Guid> CreatePost(CreatePostServiceModel postServiceModel);
+ Task<Guid> AddComment(CreateCommentServiceModel commentServiceModel);
Task<CommentServiceModel> GetCommentById(Guid id);
Task<PostServiceModel> GetPostById(Guid id);