2024-10-30 09:11:19 +00:00
|
|
|
|
using Demo.Data.Entity;
|
2024-10-21 12:42:07 +00:00
|
|
|
|
|
|
|
|
|
namespace Demo.Data.Repository
|
|
|
|
|
{
|
|
|
|
|
public interface IGroupRepository
|
|
|
|
|
{
|
2024-10-30 09:11:19 +00:00
|
|
|
|
bool AddGroup(GroupLocalEntity newGroup);
|
2024-10-21 12:42:07 +00:00
|
|
|
|
List<GroupLocalEntity> GetAllGroup();
|
2024-10-30 09:11:19 +00:00
|
|
|
|
GroupLocalEntity GetGroupById(int groupId);
|
|
|
|
|
bool UpdateGroupById(int groupId, GroupLocalEntity updatedGroup);
|
|
|
|
|
bool RemoveGroupById(int groupId);
|
2024-10-21 12:42:07 +00:00
|
|
|
|
}
|
|
|
|
|
}
|