presence/domain/UseCase/IGroupUseCase.cs

32 lines
905 B
C#
Raw Normal View History

2024-12-05 07:31:49 +00:00
using domain.Entity;
2024-11-26 05:09:12 +00:00
using domain.Request;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace domain.UseCase
{
public interface IGroupUseCase
{
2024-11-28 07:36:11 +00:00
public bool AddGroup(AddGroupRequest addGroupRequest);
2024-11-26 05:09:12 +00:00
public void AddGroupWithStudents(AddGroupWithStudentRequest addGroupWithStudentRequest);
2024-12-12 07:20:21 +00:00
public void AddStudentsToGroup(int id, IEnumerable<AddStudentRequest> students);
2024-11-28 07:36:11 +00:00
public bool RemoveGroup(RemoveGroupRequest removeGroupRequest);
2024-11-26 05:09:12 +00:00
public void EditGroup(EditGroupRequest editGroupRequest);
public IEnumerable<GroupEntity> GetGroupsWithStudents();
2024-12-04 12:21:15 +00:00
public GroupSubjectEntity GetGroupSubject(int id);
2024-12-12 07:20:21 +00:00
public void RemoveStudentsFromGroup(int groupId);
public void RemoveStudentsFromGroupByIds(int groupId, IEnumerable<int> studentIds);
2024-11-26 05:09:12 +00:00
}
}