diff --git a/Hotel/HotelRestApi/HotelRestApi.csproj b/Hotel/HotelRestApi/HotelRestApi.csproj index 2cd3993..0e5a176 100644 --- a/Hotel/HotelRestApi/HotelRestApi.csproj +++ b/Hotel/HotelRestApi/HotelRestApi.csproj @@ -11,4 +11,9 @@ + + + + + diff --git a/Hotel/HotelRestApi/Program.cs b/Hotel/HotelRestApi/Program.cs index d067d73..2213bbc 100644 --- a/Hotel/HotelRestApi/Program.cs +++ b/Hotel/HotelRestApi/Program.cs @@ -1,3 +1,6 @@ +using HotelContracts.BusinessLogicsContracts; +using HotelContracts.StoragesContracts; +using HotelDataBaseImplement.Implemets; using Microsoft.OpenApi.Models; var builder = WebApplication.CreateBuilder(args); @@ -5,12 +8,13 @@ var builder = WebApplication.CreateBuilder(args); builder.Logging.SetMinimumLevel(LogLevel.Trace); builder.Logging.AddLog4Net("log4net.config"); -/* -builder.Services.AddTransient(); -builder.Services.AddTransient(); -builder.Services.AddTransient(); -builder.Services.AddTransient(); +builder.Services.AddTransient(); +builder.Services.AddTransient(); +builder.Services.AddTransient(); +builder.Services.AddTransient(); + +/* builder.Services.AddTransient(); builder.Services.AddTransient(); builder.Services.AddControllers();*/