diff --git a/Common/Dtos/IdName.cs b/Common/Models/IdName.cs similarity index 90% rename from Common/Dtos/IdName.cs rename to Common/Models/IdName.cs index 367e829..bede552 100644 --- a/Common/Dtos/IdName.cs +++ b/Common/Models/IdName.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Common.Dtos +namespace Common.Models { public class IdName { diff --git a/Hushian.Application/Contracts/IMessageSender.cs b/Hushian.Application/Contracts/IMessageSender.cs new file mode 100644 index 0000000..289d8d2 --- /dev/null +++ b/Hushian.Application/Contracts/IMessageSender.cs @@ -0,0 +1,10 @@ + +using Hushian.Application.Models.Message; + +namespace Common.Contracts.Infrastructure +{ + public interface IMessageSender + { + Task SendMassage(Message message); + } +}