32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
namespace LogViewer.Data
|
|
{
|
|
public class ReportFileService
|
|
{
|
|
private static IConfiguration _configuration;
|
|
|
|
private static ILogger<ReportFileService> _logger;
|
|
|
|
//private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
|
|
|
|
/// <summary>
|
|
/// Init classe
|
|
/// </summary>
|
|
/// <param name="configuration"></param>
|
|
/// <param name="logger"></param>
|
|
/// <param name="emailSender"></param>
|
|
/// <param name="redisCacheClient"></param>
|
|
public ReportFileService(IConfiguration configuration, ILogger<ReportFileService> logger)
|
|
{
|
|
_logger = logger;
|
|
_configuration = configuration;
|
|
}
|
|
public async Task<Dictionary<string, string>> getDayReport()
|
|
{
|
|
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
|
keyValuePairs.Add("storico.html", "storico.html");
|
|
keyValuePairs.Add("storicov2.html", "storicov2.html");
|
|
return await Task.FromResult( keyValuePairs);
|
|
}
|
|
}
|
|
}
|