Files
Library/OwnChar/Api/IGroupsManager.cs
2024-06-30 18:19:00 +02:00

12 lines
369 B
C#

using OwnChar.Model;
namespace OwnChar.Api;
public interface IGroupsManager
{
bool AddMember(UserProfile? profile, Group? group);
Group? CreateGroup(string? name);
bool DeleteGroup(Group? group);
bool DeleteMember(UserProfile? profile, Group? group);
IEnumerable<UserProfile>? GetMembers(Group? group);
UserProfile? GetOwner(Group? group);
}