forked from MDCPS/DamageAssessment_Backend
		
	Merge with dev branch
This commit is contained in:
		| @ -30,8 +30,10 @@ builder.Services.AddDbContext<AnswerDbContext>(option => | ||||
| { | ||||
|     option.UseInMemoryDatabase("Answers"); | ||||
| }); | ||||
|  | ||||
| var app = builder.Build(); | ||||
|  | ||||
|  | ||||
| // Configure the HTTP request pipeline. | ||||
| if (app.Environment.IsDevelopment()) | ||||
| { | ||||
| @ -46,8 +48,8 @@ if (app.Environment.IsDevelopment()) | ||||
|         options => | ||||
|     { | ||||
|         //switch for local environment | ||||
|         options.SwaggerEndpoint("/swagger/v1/swagger.json", ""); | ||||
|         //options.SwaggerEndpoint("/answers/swagger/v1/swagger.json","" ); | ||||
|         //options.SwaggerEndpoint("/swagger/v1/swagger.json", ""); | ||||
|         options.SwaggerEndpoint("/answers/swagger/v1/swagger.json","" ); | ||||
|          | ||||
|     } ); | ||||
| } | ||||
|  | ||||
| @ -23,7 +23,6 @@ namespace DamageAssesment.Api.Answers.Providers | ||||
|  | ||||
|         public async Task<(bool IsSuccess, IEnumerable<Models.Answer> Answers, string ErrorMessage)> GetAnswersAsync() | ||||
|         { | ||||
|  | ||||
|             try | ||||
|             { | ||||
|                 logger?.LogInformation("Query Question"); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user