the basis for group and private messages

This commit is contained in:
Artemy
2025-07-04 14:33:54 +07:00
parent fab3d6b67b
commit bdcfd32b11
20 changed files with 418 additions and 207 deletions
@@ -0,0 +1,9 @@
using Govor.Core.Models;
namespace Govor.Core.Repositories.Groups;
public interface IGroupsExist
{
public bool Exists(Guid groupId);
public bool Exists(ChatGroup chatGroup);
}
@@ -1,6 +1,6 @@
namespace Govor.Core.Repositories.Groups;
public class IGroupsReader
public interface IGroupsReader
{
}
@@ -0,0 +1,6 @@
namespace Govor.Core.Repositories.Groups;
public interface IGroupsRepository : IGroupsReader, IGroupsExist, IGroupsWriter
{
}
@@ -0,0 +1,6 @@
namespace Govor.Core.Repositories.Groups;
public interface IGroupsWriter
{
}