xxxproject/Demo/Program.cs

18 lines
617 B
C#
Raw Normal View History

2024-10-18 09:51:43 +00:00
using Demo.Data.Repository;
2024-10-14 11:51:48 +00:00
using Demo.Domain.UseCase;
2024-10-14 12:10:53 +00:00
using Demo.UI;
2024-10-14 11:51:48 +00:00
2024-10-18 09:51:43 +00:00
class Program
{
static void Main(string[] args)
{
GroupRepositoryImpl groupRepositoryImpl = new GroupRepositoryImpl();
UserRepositoryImpl userRepositoryImpl = new UserRepositoryImpl();
UserUseCase userUseCase = new UserUseCase(userRepositoryImpl, groupRepositoryImpl);
GroupUseCase groupUseCase = new GroupUseCase(groupRepositoryImpl);
2024-10-23 09:42:17 +00:00
UseCasePresence presenceUseCase = new UseCasePresence();
2024-10-14 11:51:48 +00:00
2024-10-23 09:42:17 +00:00
MainMenuUI mainMenuUI = new MainMenuUI(userUseCase, groupUseCase, presenceUseCase);
2024-10-18 09:51:43 +00:00
}
}