xxxproject/Demo/Data/Repository/GroupRepositoryImpl.cs
2024-10-18 12:51:43 +03:00

20 lines
444 B
C#

using Demo.Data.LocalData;
using Demo.domain.Models;
using System.Collections.Generic;
namespace Demo.Data.Repository
{
public class GroupRepositoryImpl
{
public List<GroupLocalEntity> GetAllGroups;
public GroupRepositoryImpl() {
GetAllGroups = LocalStaticData.groups;
}
public void AddGroup(GroupLocalEntity newGroup)
{
GetAllGroups.Add(newGroup);
}
}
}