using DamageAssesment.Api.Responses.Interfaces; namespace DamageAssesment.Api.Responses.Services { public class ServiceProviderBase { protected readonly IConfiguration configuration; protected readonly IHttpUtil httpUtil; protected readonly ILogger logger; protected string ressource; protected string urlBase; protected string url; public ServiceProviderBase(IConfiguration configuration, IHttpUtil httpUtil, ILogger logger, string ressource, string urlBase) { this.configuration = configuration; this.httpUtil = httpUtil; this.logger = logger; this.ressource = ressource; this.urlBase = urlBase; url = urlBase + ressource; } } }