Demo/Data/Repository/IPresenceRepository.cs

18 lines
575 B
C#
Raw Normal View History

2024-10-24 11:13:46 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Posechaemost.Data.LocalData.Entity;
using Posechaemost.Domain.Models;
namespace Posechaemost.Data.Repository
{
public interface IPresenceRepository
{
List<PresenceLocalEntity> GetPresenceByGroup(int groupId);
List<PresenceLocalEntity> GetPresenceByGroupAndDate(int groupId, DateOnly date);
bool UncheckAttendence(int firstClass, int lastClass, DateOnly date, Guid userGuid);
void AddPresence(PresenceLocalEntity presence);
2024-10-24 11:13:46 +00:00
}
}