2024-10-21 09:38:07 +00:00
|
|
|
using Demo.Domain.Models;
|
|
|
|
|
|
|
|
namespace Demo.Data.Repository
|
|
|
|
{
|
|
|
|
public interface IGroupRepository
|
|
|
|
{
|
|
|
|
List<GroupLocalEntity> GetAllGroup();
|
2024-10-24 15:57:52 +00:00
|
|
|
GroupLocalEntity? GetGroupById(int ID);
|
2024-10-21 10:55:18 +00:00
|
|
|
bool RemoveGroupByID(int groupId);
|
2024-10-21 09:38:07 +00:00
|
|
|
GroupLocalEntity? UpdateGroup(GroupLocalEntity updatedGroup);
|
2024-10-24 15:57:52 +00:00
|
|
|
GroupLocalEntity? CreateGroup(string Name);
|
2024-10-21 09:38:07 +00:00
|
|
|
}
|
|
|
|
}
|