persistence/DD.Persistence.App/Program.cs
Olga Nemt 19317b5417
All checks were successful
Run Tests / run_tests (push) Successful in 27s
проверка
2024-12-18 13:13:29 +05:00

25 lines
646 B
C#

using DD.Persistence.API;
using System.Globalization;
namespace DD.Persistence.App;
public class Program
{
public static void Main(string[] args)
{
CultureInfo uiCulture = CultureInfo.CurrentUICulture;
CultureInfo.CurrentUICulture = new CultureInfo("en-EN");
var host = CreateHostBuilder(args).Build();
Startup.BeforeRunHandler(host);
host.Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}