presence/domain/UseCase/IGroupUseCase.cs

15 lines
400 B
C#
Raw Normal View History

2024-11-01 14:11:27 +00:00
using Demo.Domain.Models;
namespace Demo.Domain.UseCase
{
public interface IGroupUseCase
{
List<Group> GetAllGroups();
List<GroupCon> GetAllGroupsWithUsers();
2024-11-01 14:11:27 +00:00
bool RemoveGroupByID(int groupID);
2024-12-04 19:33:12 +00:00
bool RemoveUsersByGroup(int groupID);
2024-11-01 14:11:27 +00:00
Group UpdateGroup(Group group);
Group GetGroupById(int groupID);
bool CreateGroup(string Name);
}
}