13 lines
412 B
C#
13 lines
412 B
C#
using data.RemoteData.RemoteDataBase.DAO;
|
|
|
|
namespace data.Repository;
|
|
|
|
public interface IGroupRepository
|
|
{
|
|
public GroupDAO AddGroup(string groupName);
|
|
public Task RemoveAllStudentsFromGroup(int groupId);
|
|
public GroupDAO GetGroupById(int groupId);
|
|
public Task UpdateGroupAsync(int groupId, string newName);
|
|
public Task DeleteGroupAsync(int groupId);
|
|
public List<GroupDAO> GetAllGroups();
|
|
} |