28 lines
739 B
C#
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);
|
|
}
|
|
}
|