Merge with dev branch

This commit is contained in:
Santhosh S
2023-09-05 00:15:17 -04:00
29 changed files with 362 additions and 415 deletions

View File

@ -15,7 +15,7 @@ namespace DamageAssesment.Api.Locations.Controllers
this.regionProvider = regionProvider;
}
/// <summary>
/// Get all regions.
/// Get all regions.2
/// </summary>
[HttpGet]

View File

@ -45,8 +45,8 @@ if (app.Environment.IsDevelopment())
app.UseSwaggerUI(options =>
{
//switch for local environment
options.SwaggerEndpoint("/swagger/v1/swagger.json","");
//options.SwaggerEndpoint("locations/swagger/v1/swagger.json", "");
// options.SwaggerEndpoint("/swagger/v1/swagger.json","");
options.SwaggerEndpoint("locations/swagger/v1/swagger.json", "");
});

View File

@ -1,7 +1,6 @@
using AutoMapper;
using DamageAssesment.Api.Locations.Db;
using DamageAssesment.Api.Locations.Interfaces;
using DamageAssesment.Api.Locations.Models;
using Microsoft.EntityFrameworkCore;
namespace DamageAssesment.Api.Locations.Providers