Demo/Data/Repository/IGroupRepository.cs

18 lines
509 B
C#
Raw Normal View History

2024-10-21 09:07:49 +00:00
using Demo.domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Demo.Data.Repository
{
public interface IGroupRepository
{
List<GroupLocalEntity> GetAllGroup();
bool RemoveGroupById(int groupID);
GroupLocalEntity? UpdateGroupName(GroupLocalEntity updatedGroup);
GroupLocalEntity? GetGroupById(int groupID);
GroupLocalEntity? CreateGroup(GroupLocalEntity newGroup);
}
}