using data.RemoteData.RemoteDatabase.DAO; using data.RemoteData.RemoteDataBase.DAO; namespace data.Repository { public interface IPresenceRepository { List GetPresenceByDateAndGroup(DateTime date, int groupId); void SavePresence(List presences); List GetPresenceByGroup(int groupId); DateOnly? GetLastDateByGroupId(int groupId); List GetPresenceForAbsent(DateTime date, int GroupId); GroupAttendanceStatistics GetGeneralPresenceForGroup(int groupId); void UpdateAtt(int userId, int groupId, int firstLesson, int lastLesson, DateOnly date, bool isAttendance); List GetAttendanceByGroup(int groupId); public List AllPresence(int GroupId, DateOnly? dateStart, DateOnly? dateEnd, int? UserId); public void UpdateAttendance(List attendanceList); public void DeletePresenceByUser(int groupId, int userId); public void DeletePresenceByDateRange(int groupId, DateOnly startDate, DateOnly endDate); public void DeletePresenceByGroup(int groupId); void DeletePresences(List presences); List GetPresenceByUserAndGroup(int userId, int groupId); List GetPresenceByDateRange(int groupId, DateOnly startDate, DateOnly endDate); void UpdateAttendance(int userId, int groupId, DateOnly date, int lessonNumber, bool isAttendance); } }