This commit is contained in:
Ismailov_Rovshan 2023-04-27 19:18:35 +04:00
parent f8a5483125
commit 82e9545799
4 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ if (!app.Environment.IsDevelopment())
app.UseHsts(); app.UseHsts();
} }
//app.UseHttpsRedirection();
app.UseStaticFiles(); app.UseStaticFiles();
app.UseRouting(); app.UseRouting();

View File

@ -6,5 +6,5 @@
} }
}, },
"AllowedHosts": "*", "AllowedHosts": "*",
"IPAddress": "http://localhost:5127/" "IPAddress": "https://localhost:7127"
} }

View File

@ -13,7 +13,7 @@ namespace RenovationWorkContracts.BindingModels
public int Id { get; set; } public int Id { get; set; }
public int ClientId { get; set; } public int ClientId { get; set; }
public string RepairName { get; set; } public string ? RepairName { get; set; }
public int RepairId { get; set; } public int RepairId { get; set; }
public int Count { get; set; } public int Count { get; set; }
public double Sum { get; set; } public double Sum { get; set; }

View File

@ -35,7 +35,7 @@ if (app.Environment.IsDevelopment())
app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "RenovationWorkRestApi v1")); app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "RenovationWorkRestApi v1"));
} }
app.UseHttpsRedirection(); //app.UseHttpsRedirection();
app.UseAuthorization(); app.UseAuthorization();