26 lines
843 B
C#
26 lines
843 B
C#
using DamageAssesment.Api.Responses.Interfaces;
|
|
|
|
namespace DamageAssesment.Api.Responses.Services
|
|
{
|
|
public class ServiceProviderBase
|
|
{
|
|
protected readonly IConfiguration configuration;
|
|
protected readonly IHttpUtil httpUtil;
|
|
protected readonly ILogger<ServiceProviderBase> logger;
|
|
protected string ressource;
|
|
protected string urlBase;
|
|
protected string url;
|
|
|
|
|
|
public ServiceProviderBase(IConfiguration configuration, IHttpUtil httpUtil, ILogger<ServiceProviderBase> logger, string ressource, string urlBase)
|
|
{
|
|
this.configuration = configuration;
|
|
this.httpUtil = httpUtil;
|
|
this.logger = logger;
|
|
this.ressource = ressource;
|
|
this.urlBase = urlBase;
|
|
url = urlBase + ressource;
|
|
}
|
|
}
|
|
}
|