semesterWork/domain/UseCase/IGroupUseCase.cs

19 lines
535 B
C#
Raw Permalink Normal View History

2024-12-04 21:58:43 +00:00
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
{
2024-12-04 21:58:43 +00:00
public IEnumerable<GroupEntity> GetGroupsWithStudents();
2024-12-07 15:33:26 +00:00
public Task<IEnumerable<GroupEntity>> GetGroupsWithStudentsAsync();
public void AddGroup(AddGroupRequest addGroupRequest);
public void AddGroupWithStudents(AddGroupWithStudentsRequest addGroupWithStudents);
}
}