From f9d85aa8ad63520dd49301420cf2abe0c06dec59 Mon Sep 17 00:00:00 2001 From: Iliyan Iliev Date: Tue, 14 Apr 2020 12:38:37 +0300 Subject: [PATCH] Closes #2 --- .../AutofacExtension.cs | 4 ++-- .../EventRepository.cs | 4 ++-- .../Controllers/TransactionsController.cs | 4 ++-- .../MappingProfiles/AutoMapperProfile.cs | 14 +++++++------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/client/MAVN.Service.QuorumExplorer.Client/AutofacExtension.cs b/client/MAVN.Service.QuorumExplorer.Client/AutofacExtension.cs index 59db7b8..fad6634 100644 --- a/client/MAVN.Service.QuorumExplorer.Client/AutofacExtension.cs +++ b/client/MAVN.Service.QuorumExplorer.Client/AutofacExtension.cs @@ -1,4 +1,4 @@ -using Autofac; +using Autofac; using JetBrains.Annotations; using Lykke.HttpClientGenerator; using Lykke.HttpClientGenerator.Infrastructure; @@ -30,7 +30,7 @@ public static class AutofacExtension if (string.IsNullOrWhiteSpace(settings.ServiceUrl)) throw new ArgumentException("Value cannot be null or whitespace.", nameof(QuorumExplorerServiceClientSettings.ServiceUrl)); - var clientBuilder = HttpClientGenerator.HttpClientGenerator.BuildForUrl(settings.ServiceUrl) + var clientBuilder = HttpClientGenerator.BuildForUrl(settings.ServiceUrl) .WithAdditionalCallsWrapper(new ExceptionHandlerCallsWrapper()); clientBuilder = builderConfigure?.Invoke(clientBuilder) ?? clientBuilder.WithoutRetries(); diff --git a/src/MAVN.Service.QuorumExplorer.MsSqlRepositories/EventRepository.cs b/src/MAVN.Service.QuorumExplorer.MsSqlRepositories/EventRepository.cs index 40ebfd5..312ee18 100644 --- a/src/MAVN.Service.QuorumExplorer.MsSqlRepositories/EventRepository.cs +++ b/src/MAVN.Service.QuorumExplorer.MsSqlRepositories/EventRepository.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Lykke.Common.MsSql; @@ -10,7 +10,7 @@ using MAVN.Service.QuorumExplorer.MsSqlRepositories.Extensions; using Microsoft.EntityFrameworkCore; using Nethereum.Util; -using EventInfo = Lykke.Service.QuorumExplorer.Domain.DTOs.EventInfo; +using EventInfo = MAVN.Service.QuorumExplorer.Domain.DTOs.EventInfo; namespace MAVN.Service.QuorumExplorer.MsSqlRepositories { diff --git a/src/MAVN.Service.QuorumExplorer/Controllers/TransactionsController.cs b/src/MAVN.Service.QuorumExplorer/Controllers/TransactionsController.cs index bf54779..f403606 100644 --- a/src/MAVN.Service.QuorumExplorer/Controllers/TransactionsController.cs +++ b/src/MAVN.Service.QuorumExplorer/Controllers/TransactionsController.cs @@ -1,4 +1,4 @@ -using System.Net; +using System.Net; using System.Threading.Tasks; using AutoMapper; using MAVN.Service.QuorumExplorer.Client; @@ -6,7 +6,7 @@ using MAVN.Service.QuorumExplorer.Domain.DTOs; using MAVN.Service.QuorumExplorer.Domain.Services.Explorer; using Microsoft.AspNetCore.Mvc; -using TransactionDetailedInfo = Lykke.Service.QuorumExplorer.Client.Models.TransactionDetailedInfo; +using TransactionDetailedInfo = MAVN.Service.QuorumExplorer.Client.Models.TransactionDetailedInfo; namespace MAVN.Service.QuorumExplorer.Controllers { diff --git a/src/MAVN.Service.QuorumExplorer/MappingProfiles/AutoMapperProfile.cs b/src/MAVN.Service.QuorumExplorer/MappingProfiles/AutoMapperProfile.cs index 394be12..9b0e9af 100644 --- a/src/MAVN.Service.QuorumExplorer/MappingProfiles/AutoMapperProfile.cs +++ b/src/MAVN.Service.QuorumExplorer/MappingProfiles/AutoMapperProfile.cs @@ -1,12 +1,12 @@ -using AutoMapper; +using AutoMapper; using MAVN.Service.QuorumExplorer.Client.Models; using MAVN.Service.QuorumExplorer.Domain.DTOs; -using Event = Lykke.Service.QuorumExplorer.Client.Models.Event; -using EventParameter = Lykke.Service.QuorumExplorer.Domain.DTOs.EventParameter; -using FunctionCall = Lykke.Service.QuorumExplorer.Domain.DTOs.FunctionCall; -using FunctionCallParameter = Lykke.Service.QuorumExplorer.Domain.DTOs.FunctionCallParameter; -using TransactionDetailedInfo = Lykke.Service.QuorumExplorer.Domain.DTOs.TransactionDetailedInfo; -using TransactionLog = Lykke.Service.QuorumExplorer.Domain.DTOs.TransactionLog; +using Event = MAVN.Service.QuorumExplorer.Client.Models.Event; +using EventParameter = MAVN.Service.QuorumExplorer.Domain.DTOs.EventParameter; +using FunctionCall = MAVN.Service.QuorumExplorer.Domain.DTOs.FunctionCall; +using FunctionCallParameter = MAVN.Service.QuorumExplorer.Domain.DTOs.FunctionCallParameter; +using TransactionDetailedInfo = MAVN.Service.QuorumExplorer.Domain.DTOs.TransactionDetailedInfo; +using TransactionLog = MAVN.Service.QuorumExplorer.Domain.DTOs.TransactionLog; namespace MAVN.Service.QuorumExplorer.MappingProfiles {