presence/domain/UseCase/IGroupUseCase.cs
2024-12-04 22:33:12 +03:00

15 lines
400 B
C#

using Demo.Domain.Models;
namespace Demo.Domain.UseCase
{
public interface IGroupUseCase
{
List<Group> GetAllGroups();
List<GroupCon> GetAllGroupsWithUsers();
bool RemoveGroupByID(int groupID);
bool RemoveUsersByGroup(int groupID);
Group UpdateGroup(Group group);
Group GetGroupById(int groupID);
bool CreateGroup(string Name);
}
}