2024-10-24 08:50:32 +00:00
|
|
|
|
using AttendanceApp.Domain.Models;
|
2024-10-23 09:52:43 +00:00
|
|
|
|
|
2024-10-24 08:50:32 +00:00
|
|
|
|
namespace AttendanceApp.Data.Repository
|
2024-10-23 09:52:43 +00:00
|
|
|
|
{
|
|
|
|
|
public interface IPresenceRepository
|
|
|
|
|
{
|
2024-10-24 08:50:32 +00:00
|
|
|
|
IEnumerable<Presence> GetPresenceByGroupAndDate(int groupId, DateTime date);
|
|
|
|
|
IEnumerable<Presence> GetPresenceByGroup(int groupId);
|
|
|
|
|
void AddPresence(Presence presence);
|
|
|
|
|
void UpdatePresence(Presence presence);
|
|
|
|
|
// Дополнительные методы по необходимости
|
2024-10-23 09:52:43 +00:00
|
|
|
|
}
|
2024-10-24 08:50:32 +00:00
|
|
|
|
}
|