presence_api/data/Repository/IPresenceRepository.cs

20 lines
794 B
C#
Raw Permalink Normal View History

2024-11-11 11:35:05 +00:00

using data.RemoteData.RemoteDataBase.DAO;
namespace data.Repository
{
public interface IPresenceRepository
{
List<PresenceDao> GetPresenceByDateAndGroup(DateTime date, int groupId);
void SavePresence(List<PresenceDao> presences);
List<PresenceDao> GetPresenceByGroup(int groupId);
DateOnly? GetLastDateByGroupId(int groupId);
List<PresenceDao> GetPresenceForAbsent(DateTime date, int GroupId);
GroupAttendanceStatistics GetGeneralPresenceForGroup(int groupId);
void UpdateAtt(int userId, int groupId, int firstLesson, int lastLesson, DateOnly date, bool isAttendance);
List<PresenceDao> GetAttendanceByGroup(int groupId);
2024-11-14 09:38:27 +00:00
void GetPresences(int groupId, string StartDate, string EndDate, int userId);
2024-11-11 11:35:05 +00:00
}
}