presence/console_ui/Program.cs

11 lines
323 B
C#
Raw Permalink Normal View History

2024-11-15 13:11:22 +00:00
using presence;
using presence.Repository;
RemoteDatabaseContext remoteDatabaseContext = new RemoteDatabaseContext();
SQLGroupRepository groupRepository = new SQLGroupRepository(remoteDatabaseContext);
foreach (var item in groupRepository.GetAllGroup())
{
Console.WriteLine($"{item.IdGroup} {item.NameGroup}");
}