Files
Library/OwnChar/Modules/IGroupsManager.cs
Schedel Pascal b08c7619a4 uff, lot of work
2024-08-02 11:47:38 +02:00

14 lines
516 B
C#

using OwnChar.Model;
namespace OwnChar.Modules;
public interface IGroupsManager
{
IQueryable<GroupBase>? GetGroups(UserProfileBase? profile);
IQueryable<GroupBase>? GetGroups();
bool AddMember(UserProfileBase? profile, GroupBase? group);
GroupBase? CreateGroup(string? name);
bool DeleteGroup(GroupBase? group);
bool RemoveMember(UserProfileBase? profile, GroupBase? group);
IQueryable<UserProfileBase>? GetMembers(GroupBase? group);
UserProfileBase? GetOwner(GroupBase? group);
}