11 lines
323 B
C#
11 lines
323 B
C#
|
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}");
|
|||
|
}
|