presence/data/Repository/IPresenceRepository.cs
2024-11-11 14:49:39 +03:00

15 lines
553 B
C#

using Demo.Domain.Models;
namespace Demo.Data.Repository
{
public interface IPresenceRepository
{
List<PresenceLocalEntity> GetAllPresences();
bool DeletePresence();
bool DeletePresenceByGroup(int groupID);
bool DeletePresenceByUser(Guid userGuid);
bool DeletePresenceByRange(DateOnly start, DateOnly end);
void IsAttedance(int firstLesson, int lastLesson, DateOnly date, Guid UserGuid);
List<PresenceLocalEntity> GeneratePresence(List<PresenceLocalEntity> presenceLocalEntities);
}
}