pr1/presence/data/Repository/IGroupRepository.cs

21 lines
626 B
C#
Raw Normal View History

2024-11-17 16:24:01 +00:00
using Demo.Data.RemoteData.RemoteDataBase.DAO;
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-12-19 17:36:57 +00:00
List<GroupDao> GetAllGroup();
2024-11-17 16:24:01 +00:00
bool RemoveGroupById(int groupID);
2024-12-19 17:36:57 +00:00
bool UpdateGroupById(int groupID, String name);
GroupDao GetGroupById(int groupID);
bool AddGroup(GroupDao group);
bool AddStudents(GroupDao group, List<UserDao> students);
public Task<IEnumerable<GroupDao>> getAllGroupAsync();
2024-11-17 16:24:01 +00:00
}
2024-12-19 17:36:57 +00:00
}