|
@@ -12,8 +12,8 @@ using DW5S.WebApi;
|
|
using System.Diagnostics;
|
|
using System.Diagnostics;
|
|
using System.Configuration;
|
|
using System.Configuration;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
-using Serilog;
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
+using Serilog;
|
|
|
|
|
|
namespace DW5S.Controllers
|
|
namespace DW5S.Controllers
|
|
{
|
|
{
|
|
@@ -22,11 +22,9 @@ namespace DW5S.Controllers
|
|
/// </summary>
|
|
/// </summary>
|
|
public class LogController : BaseController
|
|
public class LogController : BaseController
|
|
{
|
|
{
|
|
- [Autowired]
|
|
|
|
- private readonly ILogger logger;
|
|
|
|
|
|
+ ILogger logger { get; set; }
|
|
|
|
|
|
- [Autowired]
|
|
|
|
- private readonly UnitOfWork unitOfWork;
|
|
|
|
|
|
+ IUnitOfWork unitOfWork { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|