DamageAssessment_Backend/DamageAssesmentApi/DamageAssesment.Api.Responses/Services/ServiceProviderBase.cs
2023-09-26 15:38:59 -05:00

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;
}
}
}