27 lines
803 B
C#
27 lines
803 B
C#
using Demo.Data.LocalData;
|
|
using Demo.Domain.Models;
|
|
|
|
namespace Demo.Data.Repository
|
|
{
|
|
public class PresenceRepositoryImpl : IPresenceRepository
|
|
{
|
|
public List<PresenceLocalEntity> GetAllPresence = new List<PresenceLocalEntity>{};
|
|
|
|
public List<PresenceLocalEntity> GetAllPresences(){
|
|
return GetAllPresence;
|
|
}
|
|
|
|
public List<PresenceLocalEntity>? GetPresenceByGroup(){
|
|
return GetAllPresence;
|
|
}
|
|
|
|
public List<PresenceLocalEntity> GetPresenceByGroupDate(){
|
|
return GetAllPresence;
|
|
}
|
|
|
|
public List<PresenceLocalEntity> GeneratePresence(List<PresenceLocalEntity> presenceLocalEntities){
|
|
GetAllPresence.AddRange(presenceLocalEntities);
|
|
return presenceLocalEntities;
|
|
}
|
|
}
|
|
} |