Refactoring

This commit is contained in:
Sergey Chebotar 2023-04-07 07:27:42 +03:00
parent 75cb3c4f5d
commit c86f0b8143

View File

@ -1,20 +1,13 @@
using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json;
using Newtonsoft.Json;
using RhSolutions;
using RhSolutions.AddIn;
using RhSolutions.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net; using System.Net;
using System.Net.Http; using System.Net.Http;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace RhSolutions.Services namespace RhSolutions.Services;
{
public class RhDatabaseClient : IDatabaseClient public class RhDatabaseClient : IDatabaseClient
{ {
private IServiceProvider serviceProvider; private readonly IServiceProvider serviceProvider;
public HttpStatusCode StatusCode { get; private set; } public HttpStatusCode StatusCode { get; private set; }
public RhDatabaseClient(IServiceProvider provider) public RhDatabaseClient(IServiceProvider provider)
@ -54,4 +47,3 @@ namespace RhSolutions.Services
return Enumerable.Empty<Product>(); return Enumerable.Empty<Product>();
} }
} }
}