pr1/presence/data/Repository/IPresenceRepository.cs

21 lines
804 B
C#
Raw Normal View History

2024-12-05 09:30:01 +00:00
using data.RemoteData.RemoteDataBase.DAO;
using Demo.Data.RemoteData.RemoteDataBase.DAO;
using Demo.domain.Models;
using System;
using System.Collections.Generic;
namespace Demo.Data.Repository
{
public interface IPresenceRepository
{
2024-12-19 17:36:57 +00:00
List<PresenceDao> GetPresence(int GroupId, DateOnly startData, DateOnly endData, int UserId);
List<PresenceDao> GetPresenceByGroup(int groupId);
List<PresenceDao> 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);
2024-12-05 09:30:01 +00:00
}
}