Demo/Data/Repository/IGroupRepository.cs
2024-10-21 12:38:07 +03:00

13 lines
389 B
C#

using Demo.Domain.Models;
namespace Demo.Data.Repository
{
public interface IGroupRepository
{
List<GroupLocalEntity> GetAllGroup();
bool RemoveGroupById(int groupId);
GroupLocalEntity? UpdateGroup(GroupLocalEntity updatedGroup);
GroupLocalEntity? GetGroupById(int groupId);
GroupLocalEntity? CreateGroup(GroupLocalEntity newGroup);
}
}