presence/Demo/Program.cs
2024-10-18 14:46:21 +03:00

22 lines
584 B
C#

using Demo.Data.Repository;
using Demo.Domain.UseCase;
using Demo.UI;
class Program
{
static void Main(string[] args)
{
var userRepository = new UserRepositoryImpl();
var groupRepository = new GroupRepositoryImpl();
var userUseCase = new UserUseCase(userRepository);
var groupUseCase = new GroupUseCase(groupRepository);
var userConsole = new UserConsole(userUseCase);
var groupConsole = new GroupConsole(groupUseCase);
var mainMenu = new MainMenu(userConsole, groupConsole);
mainMenu.ShowMenu();
}
}