presence123/Demo/Data/Repository/IPresenceRepository.cs
2024-10-25 11:47:11 +03:00

28 lines
739 B
C#

using Demo.Data.RemoteData.RemoteDataBase.DAO;
using Demo.domain.Models;
using Demo.Domain.UseCase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Demo.Data.Repository
{
public interface IPresenceRepository
{
List<PresenceLocalEntity> GetPresenceByDateAndGroup(DateTime date, int groupId);
void SavePresence(List<PresenceLocalEntity> presences);
List<PresenceLocalEntity> GetPresenceByGroup(int groupId);
List<PresenceDao> GetPresenceByDateAndGroupDao(DateTime date, int groupId);
void SavePresenceDao(List<PresenceDao> presences);
List<PresenceDao> GetPresenceByGroupDao(int groupId);
}
}