18 lines
557 B
C#
18 lines
557 B
C#
|
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);
|
||
|
|
||
|
}
|
||
|
}
|