using Demo.Data.RemoteData.RemoteDataBase.DAO; using Demo.domain.Models; using System; using System.Collections.Generic; namespace Demo.Data.Repository { public interface IPresenceRepository { void SavePresence(List presences); List GetPresenceByGroup(int groupId); List GetPresenceByGroupAndDate(int groupId, DateTime date); DateOnly? GetLastDateByGroupId(int groupId); void GetGeneralPresenceForGroup(int groupId); void UpdateAtt(Guid UserGuid, int groupId, int firstLesson, int lastLesson, DateOnly date, bool isAttendance); void MarkUserAsAbsent(Guid userGuid, int firstLessonNumber, int lastLessonNumber); void AddPresence(PresenceLocalEntity presence); } }