Add logger to upload controller
parent
749d07a546
commit
d7c2ae0d85
|
@ -2,12 +2,15 @@
|
|||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using NLog;
|
||||
|
||||
namespace LANCommander.Controllers
|
||||
{
|
||||
[Authorize(Roles = "Administrator")]
|
||||
public class UploadController : Controller
|
||||
{
|
||||
protected readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
||||
|
||||
private const string UploadDirectory = "Upload";
|
||||
|
||||
public JsonResult Init()
|
||||
|
|
Loading…
Reference in New Issue