Presence.Desktop/data/Repository/IGroupRepository.cs
2024-12-20 11:49:17 +03:00

20 lines
582 B
C#

using data.RemoteData.RemoteDataBase.DAO;
using data.domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace data.Repository
{
public interface IGroupRepository
{
List<GroupDao> GetAllGroups();
bool UpdateGroupById(int groupID, GroupDao updatedGroup);
GroupDao GetGroupById(int groupID);
bool AddGroup(string Name);
public void RemoveAllStudentsFromGroup(int groupId);
public void AddStudentToGroup(int groupId, UserDao student);
}
}