network-resurrector/NetworkResurrector.Application/Services/ParamProvider.cs

18 lines
466 B
C#
Raw Normal View History

using Microsoft.Extensions.Configuration;
using NetworkResurrector.Domain.Services;
namespace NetworkResurrector.Application.Services
{
public class ParamProvider : IParamProvider
{
private readonly IConfiguration _configuration;
public ParamProvider(IConfiguration configuration)
{
_configuration = configuration;
}
// public User[] Users => _configuration.GetSection("Users").Get<User[]>();
}
}