presence_new/data/Repository/IPresenceRepository.cs
2024-11-16 15:02:17 +03:00

18 lines
557 B
C#
Executable File

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using presence.data.LocalData.Entity;
using presence.data.RemoteData.RemoteDataBase.DAO;
namespace presence.data.Repository
{
public interface IPresenceRepository
{
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);
}
}