slarny4/Demo1/Data/Repository/IPresenceRepository.cs

17 lines
569 B
C#
Raw Normal View History

2024-11-25 04:33:26 +00:00
using Demo.Domain.Models;
2024-10-28 12:42:04 +00:00
using System;
using System.Collections.Generic;
2024-10-23 09:52:43 +00:00
2024-10-28 12:42:04 +00:00
namespace Demo.Data.Repository
2024-10-23 09:52:43 +00:00
{
public interface IPresenceRepository
{
2024-11-25 04:33:26 +00:00
void AddPresence(Presence presence);
IEnumerable<Presence> GetPresenceByGroup(int groupId);
IEnumerable<Presence> GetPresenceByGroupAndDate(int groupId, DateTime date);
void MarkUserAsAbsent(Guid userId, int lessonNumber, DateTime date);
IEnumerable<Presence> GetAllPresence();
void DeletePresence(Guid id);
2024-10-24 08:50:32 +00:00
void UpdatePresence(Presence presence);
2024-10-23 09:52:43 +00:00
}
2024-10-24 08:50:32 +00:00
}