refactor(UserRep): nullable related propoerties gemacht.
- RepUserId von UserRepCreateDto löschbar gemacht. - ChangedWho von UserRepReadDto löschbar gemacht. - RepUserId von UserRepUpdateDto löschbar gemacht.
This commit is contained in:
@@ -54,7 +54,7 @@ try {
|
||||
// Once the app is built, the password will be decrypted with Encryptor. lazy loading also acts as a call back method.
|
||||
Lazy<string>? cnn_str = null;
|
||||
|
||||
builder.Services.AddDbContext<UserManagerDbContext>(options => options.UseSqlServer(cnn_str!.Value).EnableDetailedErrors());
|
||||
builder.Services.AddDbContext<UserManagerDbContext>(options => options.UseSqlServer(cnn_str!.Value).EnableSensitiveDataLogging());
|
||||
|
||||
var allowedOrigins = builder.Configuration.GetSection("AllowedOrigins").Get<string[]>() ?? throw new InvalidOperationException("In appsettings there is no allowed origin.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user