presence/domain/UseCase/IPresenceUseCase.cs

22 lines
573 B
C#
Raw Normal View History

2024-12-05 07:31:49 +00:00
using domain.Entity;
2024-12-10 05:26:38 +00:00
using domain.Request;
2024-12-05 07:31:49 +00:00
using System;
using System.Collections.Generic;
namespace domain.UseCase
{
public interface IPresenceUseCase
{
IEnumerable<PresenceEntity> GetPresence(
int groupId,
int? subjectId = null,
2024-12-10 05:26:38 +00:00
DateOnly? date = null,
2024-12-05 07:31:49 +00:00
int? studentId = null);
2024-12-10 05:26:38 +00:00
void DeleteAllPresence();
void DeleteGroupPresence(int groupId);
void AddPresenceRecords(AddPresenceRequest request);
void UpdatePresenceRecords(UpdatePresenceRequest request);
2024-12-05 07:31:49 +00:00
}
}