pr1/presence/domain/UseCase/IAdminUseCase.cs
2024-12-19 20:36:57 +03:00

19 lines
509 B
C#

using domain.Models.ResponseModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace domain.UseCase
{
public interface IAdminUseCase
{
IEnumerable<GroupResponse> GetAllGroupsWithStudents();
UserResponse GetStudentInfo(int userId);
bool AddStudents(string GroupName, List<string> Students);
bool DeleteGroup(int groupId);
bool DeleteUserFromGroup(int userId, int groupId);
}
}