forked from MDCPS/DamageAssessment_Backend
Update SeedData to be executed when MS launched, Enable other properties in SurveyResponse
This commit is contained in:
@ -1,18 +1,20 @@
|
||||
namespace DamageAssesment.Api.SurveyResponses.Bases
|
||||
using DamageAssesment.Api.SurveyResponses.Interfaces;
|
||||
|
||||
namespace DamageAssesment.Api.SurveyResponses.Bases
|
||||
{
|
||||
public class ServiceProviderBase
|
||||
{
|
||||
protected readonly IConfiguration configuration;
|
||||
protected readonly HttpClient httpClient;
|
||||
protected private readonly ILogger<ServiceProviderBase> logger;
|
||||
protected readonly IHttpUtil httpUtil;
|
||||
protected readonly ILogger<ServiceProviderBase> logger;
|
||||
protected string ressource;
|
||||
protected string urlBase;
|
||||
|
||||
|
||||
public ServiceProviderBase(IConfiguration configuration, HttpClient httpClient, ILogger<ServiceProviderBase> logger, string ressource, string urlBase)
|
||||
public ServiceProviderBase(IConfiguration configuration, IHttpUtil httpUtil, ILogger<ServiceProviderBase> logger, string ressource, string urlBase)
|
||||
{
|
||||
this.configuration = configuration;
|
||||
this.httpClient = httpClient;
|
||||
this.httpUtil = httpUtil;
|
||||
this.logger = logger;
|
||||
this.ressource = ressource;
|
||||
this.urlBase = urlBase;
|
||||
|
Reference in New Issue
Block a user