presence/data/Repository/IPresenceRepository.cs

16 lines
650 B
C#
Raw Normal View History

2024-11-01 14:11:27 +00:00
using Demo.Domain.Models;
namespace Demo.Data.Repository
{
public interface IPresenceRepository
{
List<PresenceLocalEntity> GetAllPresences();
bool DeletePresence();
2024-11-11 11:49:39 +00:00
bool DeletePresenceByGroup(int groupID);
bool DeletePresenceByUser(Guid userGuid);
bool DeletePresenceByRange(DateOnly start, DateOnly end);
2024-11-01 14:11:27 +00:00
void IsAttedance(int firstLesson, int lastLesson, DateOnly date, Guid UserGuid);
2025-04-21 09:00:17 +00:00
void UpdateAttendance(int lessonNumber, DateOnly date, Guid userGuid, bool isAttedance);
2024-11-01 14:11:27 +00:00
List<PresenceLocalEntity> GeneratePresence(List<PresenceLocalEntity> presenceLocalEntities);
}
}