Refactoring
This commit is contained in:
parent
75cb3c4f5d
commit
c86f0b8143
@ -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 readonly IServiceProvider serviceProvider;
|
||||||
{
|
|
||||||
private IServiceProvider serviceProvider;
|
|
||||||
public HttpStatusCode StatusCode { get; private set; }
|
public HttpStatusCode StatusCode { get; private set; }
|
||||||
|
|
||||||
public RhDatabaseClient(IServiceProvider provider)
|
public RhDatabaseClient(IServiceProvider provider)
|
||||||
@ -53,5 +46,4 @@ namespace RhSolutions.Services
|
|||||||
|
|
||||||
return Enumerable.Empty<Product>();
|
return Enumerable.Empty<Product>();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user