mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
19 lines
455 B
C#
19 lines
455 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.Extensions.Logging;
|
|
using Wabbajack.BuildServer.Models;
|
|
|
|
namespace Wabbajack.BuildServer.Controllers
|
|
{
|
|
public abstract class AControllerBase<T> : ControllerBase
|
|
{
|
|
protected readonly ILogger<T> Logger;
|
|
protected readonly DBContext Db;
|
|
|
|
protected AControllerBase(ILogger<T> logger, DBContext db)
|
|
{
|
|
Db = db;
|
|
Logger = logger;
|
|
}
|
|
}
|
|
}
|