Demo/Data/Repository/IGroupRepository.cs

13 lines
389 B
C#
Raw Normal View History

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