Demo/Data/Repository/PresenceRepositoryImpl.cs

34 lines
929 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Posechaemost.Data.LocalData;
using Posechaemost.Data.LocalData.Entity;
using Posechaemost.Domain.Models;
namespace Posechaemost.Data.Repository
{
public class PresenceRepositoryImpl: IPresenceRepository
{
public PresenceRepositoryImpl() {
GetAllPresences = LocalStaticData.presences;
}
public List<PresenceLocalEntity> GetAllPresences
{ get; set; }
public List<PresenceLocalEntity> GetPresenceListByGroup(int groupId)
{
return GetAllPresences;
}
public List<PresenceLocalEntity> GetPresenceListByGroupAndDate(int groupId, DateOnly date)
{
return GetAllPresences;
}
public void UncheckAttendence(Presence presence)
{
throw new NotImplementedException();
}
}
}