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
|
|
|
|
{
|
2024-10-25 08:39:18 +00:00
|
|
|
List<PresenceLocalEntity> GetPresenceByGroup(int groupId);
|
|
|
|
List<PresenceLocalEntity> GetPresenceByGroupAndDate(int groupId, DateOnly date);
|
2024-10-28 08:32:57 +00:00
|
|
|
bool UncheckAttendence(int firstClass, int lastClass, DateOnly date, Guid userGuid);
|
2024-10-25 08:39:18 +00:00
|
|
|
void AddPresence(PresenceLocalEntity presence);
|
2024-10-24 11:13:46 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|