semesterWork/domain/UseCase/IGroupUseCase.cs
2024-12-07 18:33:26 +03:00

19 lines
535 B
C#

using domain.Entity;
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
{
public IEnumerable<GroupEntity> GetGroupsWithStudents();
public Task<IEnumerable<GroupEntity>> GetGroupsWithStudentsAsync();
public void AddGroup(AddGroupRequest addGroupRequest);
public void AddGroupWithStudents(AddGroupWithStudentsRequest addGroupWithStudents);
}
}