forked from MDCPS/DamageAssessment_Backend
Merge with dev branch
This commit is contained in:
@ -15,7 +15,7 @@ namespace DamageAssesment.Api.Locations.Controllers
|
||||
this.regionProvider = regionProvider;
|
||||
}
|
||||
/// <summary>
|
||||
/// Get all regions.
|
||||
/// Get all regions.2
|
||||
/// </summary>
|
||||
|
||||
[HttpGet]
|
||||
|
@ -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", "");
|
||||
|
||||
|
||||
});
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user