using ProjectLibrary.Repositories.Implementations;
using ProjectLibrary.Repositories;
using Unity;
namespace ProjectLibrary
{
internal static class Program
{
///
/// The main entry point for the application.
///
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run(CreateContainer().Resolve());
}
private static IUnityContainer CreateContainer()
{
var container = new UnityContainer();
// Регистрация репозиториев
container.RegisterType();
container.RegisterType();
container.RegisterType();
container.RegisterType();
container.RegisterType();
container.RegisterType();
container.RegisterType();
return container;
}
}
}