using NetinaShop.Domain.Dtos.ResponseDtos; namespace NetinaShop.Infrastructure.Services; public class ExternalFilesService : IExternalFilesService { private readonly IRestApiWrapper _restApiWrapper; private readonly SiteSettings _siteSetting; public ExternalFilesService(IRestApiWrapper restApiWrapper,IOptionsSnapshot snapshot) { _restApiWrapper = restApiWrapper; _siteSetting = snapshot.Value; } public Task GetAdminChangeLogAsync(CancellationToken cancellationToken = default) { return _restApiWrapper.FileRestApi(_siteSetting.AdminPanelBaseUrl).GetAdminChangeLog(); } }