u
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using FluentValidation;
|
||||
using FrontOffice.Main.Utilities;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
@@ -16,7 +17,11 @@ builder.Services.AddCommonServices();
|
||||
builder.Services.AddGrpcServices(builder.Configuration);
|
||||
|
||||
#endregion
|
||||
#region FluentValidation
|
||||
|
||||
ValidatorOptions.Global.LanguageManager = new CustomFluentValidationLanguageManager();
|
||||
|
||||
#endregion
|
||||
var appSettings = builder.Configuration.Get<AppSettings>();
|
||||
UrlUtility.DownloadUrl = appSettings.DownloadUrl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user