Demo/Data/Repository/IPresenceRepository.cs

19 lines
603 B
C#
Raw Permalink 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;
2024-11-06 04:10:09 +00:00
using Posechaemost.Data.RemoteData.RemoteDataBase.DAO;
2024-10-24 11:13:46 +00:00
using Posechaemost.Domain.Models;
namespace Posechaemost.Data.Repository
{
public interface IPresenceRepository
{
2024-11-06 04:10:09 +00:00
List<PresenceDao> GetPresenceByGroup(int groupId);
List<PresenceDao> GetPresenceByGroupAndDate(int groupId, DateOnly date);
bool UncheckAttendence(int firstClass, int lastClass, DateOnly date, int userId);
bool AddPresence(PresenceDao presence);
2024-10-24 11:13:46 +00:00
}
}