presence/data/Repository/IPresenceRepository.cs

15 lines
553 B
C#
Raw Permalink Normal View History

2024-11-01 14:11:27 +00:00
using Demo.Domain.Models;
namespace Demo.Data.Repository
{
public interface IPresenceRepository
{
List<PresenceLocalEntity> GetAllPresences();
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);
}
}