Fixed order of adding services

This commit is contained in:
2024-08-15 14:17:33 +03:00
parent 769e72442b
commit cec6a2cf26

View File

@@ -10,8 +10,8 @@ namespace SchengenVisaApi
public static IServiceCollection RegisterServices(this IServiceCollection services) public static IServiceCollection RegisterServices(this IServiceCollection services)
{ {
services services
.AddPresentation() .AddInfrastructure()
.AddInfrastructure(); .AddPresentation();
return services; return services;
} }