xxxproject/Demo/Data/Repository/IGroupRepository.cs

20 lines
498 B
C#
Raw Normal View History

2024-10-21 12:42:07 +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
{
2024-10-23 09:42:17 +00:00
bool AddGroup(GroupLocalEntity newGroup);
2024-10-21 12:42:07 +00:00
List<GroupLocalEntity> GetAllGroup();
GroupLocalEntity GetGroupById(int groupID);
bool RemoveGroupById(int groupID);
bool UpdateGroupById(int groupID, GroupLocalEntity updatedGroup);
}
}