setting
This commit is contained in:
@@ -14,7 +14,23 @@ builder.Services.AddBlazorBootstrap();
|
||||
builder.Services.AddScoped<ILocalStorageService, LocalStorageService>();
|
||||
builder.Services.AddScoped<localService>();
|
||||
builder.Services.AddScoped<HttpClientController>();
|
||||
builder.Services.AddScoped(sp => new UserAuthenticationDTO());
|
||||
builder.Services.AddScoped(sp => new UserAuthenticationDTO()
|
||||
{
|
||||
Company = new CompanyAuthenticationDTO()
|
||||
{
|
||||
ID = 0,
|
||||
IsAdmin = false,
|
||||
Logo = "",
|
||||
Name = ""
|
||||
}
|
||||
,
|
||||
FullName = "",
|
||||
Photo="",
|
||||
Token="",
|
||||
UserName = "",
|
||||
enterDate =new DateTime(),
|
||||
exitDate = new DateTime(),
|
||||
}) ;
|
||||
|
||||
|
||||
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
|
||||
|
Reference in New Issue
Block a user