diff options
| author | transtrike <transtrike@gmail.com> | 2021-01-17 13:38:24 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-01-17 13:38:24 +0200 |
| commit | 83f63ad729d585d597bdcf0afc05b7d56344223e (patch) | |
| tree | ede845ad2790fe6f6f975f3cc5d776782adecf59 /src/DevHive.Services/Interfaces/IPostService.cs | |
| parent | b4454f83c3b7d668fc8b18714a659b91576882be (diff) | |
| download | DevHive-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.cs | 4 |
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); |
