mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
the basis for group and private messages
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user