Demo/Data/Repository/IGroupRepository.cs
2024-10-24 18:57:52 +03:00

13 lines
370 B
C#

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