presence_new/domain/UseCase/IGroupUseCase.cs
2024-12-21 14:14:33 +03:00

20 lines
618 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using domain.Models.ResponseModels;
using domain.Requests;
using presence.domain.Models;
namespace domain.UseCase
{
public interface IGroupUseCase
{
public Task<IEnumerable<GroupResponse>> GetGroupsWithStudentsAsync();
public IEnumerable<GroupResponse> GetGroupsWithStudents();
public void AddGroup(AddGroupRequest addGroupRequest);
public void AddGroupWithStudents(AddGroupWithStudentRequest addGroupWithStudents);
void RemoveUserFromGroup(int UserId);
}
}