presence123/Demo/Data/Repository/IGroupRepository.cs

27 lines
793 B
C#
Raw Normal View History

2024-10-25 08:47:11 +00:00
using Demo.Data.RemoteData.RemoteDataBase.DAO;
using Demo.domain.Models;
2024-10-21 12:41:56 +00:00
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);
bool UpdateGroupById(int groupID, GroupLocalEntity updatedGroup);
GroupLocalEntity GetGroupById(int groupID);
bool AddGroup(GroupLocalEntity newGroup);
2024-10-25 08:47:11 +00:00
List<GroupDao> GetAllGroupDao();
bool RemoveGroupByIdDao(int groupID);
bool UpdateGroupByIdDao(int groupID, GroupDao updatedGroup);
GroupDao GetGroupByIdDao(int groupID);
bool AddGroupDao(GroupDao newGroup);
2024-10-21 12:41:56 +00:00
}
}