aboutsummaryrefslogtreecommitdiff
path: root/src/Services/DevHive.Services/Interfaces
diff options
context:
space:
mode:
authorDanail Dimitrov <danaildimitrov321@gmail.com>2021-02-18 22:58:36 +0200
committerDanail Dimitrov <danaildimitrov321@gmail.com>2021-02-18 22:58:36 +0200
commit1ff5502483c5ee8bab1ef0a70f61e18f6ba2399d (patch)
tree1d0be161dd38aead8e62aa1aac069b5f3f89f730 /src/Services/DevHive.Services/Interfaces
parent02cf7a097c781cd0ef9e844078e873fcda5a3fcd (diff)
downloadDevHive-1ff5502483c5ee8bab1ef0a70f61e18f6ba2399d.tar
DevHive-1ff5502483c5ee8bab1ef0a70f61e18f6ba2399d.tar.gz
DevHive-1ff5502483c5ee8bab1ef0a70f61e18f6ba2399d.zip
initial implementation of message layer
Diffstat (limited to 'src/Services/DevHive.Services/Interfaces')
-rw-r--r--src/Services/DevHive.Services/Interfaces/IMessageService.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Services/DevHive.Services/Interfaces/IMessageService.cs b/src/Services/DevHive.Services/Interfaces/IMessageService.cs
new file mode 100644
index 0000000..a0fd155
--- /dev/null
+++ b/src/Services/DevHive.Services/Interfaces/IMessageService.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Threading.Tasks;
+using DevHive.Services.Models.Message;
+
+namespace DevHive.Services.Interfaces
+{
+ public interface IMessageService
+ {
+ Task<Guid> CreateMessage(CreateMessageServiceModel createMessageServiceModel);
+
+ Task<ReadMessageServiceModel> GetMessageById(Guid id);
+ }
+}