xxxproject/Demo/Data/Repository/GroupRepositoryImpl.cs

20 lines
444 B
C#
Raw Normal View History

2024-10-14 11:51:48 +00:00
using Demo.Data.LocalData;
using Demo.domain.Models;
using System.Collections.Generic;
namespace Demo.Data.Repository
{
public class GroupRepositoryImpl
{
2024-10-18 09:51:43 +00:00
public List<GroupLocalEntity> GetAllGroups;
public GroupRepositoryImpl() {
GetAllGroups = LocalStaticData.groups;
}
public void AddGroup(GroupLocalEntity newGroup)
{
GetAllGroups.Add(newGroup);
}
2024-10-14 11:51:48 +00:00
}
}