Demo/Data/Repository/IGroupRepository.cs

18 lines
526 B
C#
Raw Normal View History

2024-10-23 07:06:56 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Posechaemost.Data.LocalData.Entity;
2024-11-06 04:10:09 +00:00
using Posechaemost.Data.RemoteData.RemoteDataBase.DAO;
2024-10-23 07:06:56 +00:00
namespace Posechaemost.Data.Repository {
public interface IGroupRepository
{
2024-11-06 04:10:09 +00:00
List<GroupDao> GetAllGroup();
2024-10-23 07:06:56 +00:00
bool RemoveGroupById(int groupID);
bool UpdateGroupById(int groupID, String name);
2024-11-06 04:10:09 +00:00
GroupDao GetGroupById(int groupID);
bool AddGroup(GroupDao group);
2024-10-23 07:06:56 +00:00
}
}