using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using presence.data.LocalData.Entity; using presence.data.RemoteData.RemoteDataBase.DAO; namespace presence.data.Repository { public interface IPresenceRepository { List GetPresence(int GroupId, DateOnly startData, DateOnly endData, int UserId); List GetPresenceByGroup(int groupId); List GetPresenceByGroupAndDate(int groupId, DateOnly date); bool UncheckAttendence(int firstClass, int lastClass, DateOnly date, int userId); bool AddPresence(PresenceDao presence); bool DeletePresenceByGroup(int groupId); bool DeletePresenceByUser(int userId); bool DeletePresenceByDate(DateOnly startData, DateOnly endData); bool DeletePresenceByClassNumberAndDateAndUserId(int classNumber, DateOnly date, int userId); void UpdateAttendance(PresenceDao presence); } }