Working
This commit is contained in:
9
API/Controllers/ApiController.cs
Normal file
9
API/Controllers/ApiController.cs
Normal file
@ -0,0 +1,9 @@
|
||||
using log4net;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace API.Controllers;
|
||||
|
||||
public abstract class ApiController(Type type) : Controller
|
||||
{
|
||||
protected ILog Log { get; init; } = LogManager.GetLogger(type);
|
||||
}
|
Reference in New Issue
Block a user