2024-11-01 14:11:27 +00:00
|
|
|
using Demo.Domain.Models;
|
|
|
|
|
|
|
|
namespace Demo.Data.Repository
|
|
|
|
{
|
|
|
|
public interface IPresenceRepository
|
|
|
|
{
|
|
|
|
List<PresenceLocalEntity> GetAllPresences();
|
2024-11-08 13:14:43 +00:00
|
|
|
bool DeletePresence();
|
2024-11-11 11:49:39 +00:00
|
|
|
bool DeletePresenceByGroup(int groupID);
|
|
|
|
bool DeletePresenceByUser(Guid userGuid);
|
|
|
|
bool DeletePresenceByRange(DateOnly start, DateOnly end);
|
2024-11-01 14:11:27 +00:00
|
|
|
void IsAttedance(int firstLesson, int lastLesson, DateOnly date, Guid UserGuid);
|
|
|
|
List<PresenceLocalEntity> GeneratePresence(List<PresenceLocalEntity> presenceLocalEntities);
|
|
|
|
}
|
|
|
|
}
|