mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-25 15:20:10 +00:00
22 lines
683 B
C#
22 lines
683 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.Extensions.Caching.Memory;
|
|
using Microsoft.Extensions.Configuration;
|
|
|
|
namespace MSFSPopoutPanelManager.WebServer.Controllers
|
|
{
|
|
public abstract class BaseController : ControllerBase
|
|
{
|
|
public IConfiguration Configuration { get; }
|
|
|
|
protected IMemoryCache MemoryCache;
|
|
|
|
protected ISimConnectService SimConnectService;
|
|
|
|
public BaseController(IConfiguration configuration, IMemoryCache memoryCache, ISimConnectService simConnectService)
|
|
{
|
|
Configuration = configuration;
|
|
MemoryCache = memoryCache;
|
|
SimConnectService = simConnectService;
|
|
}
|
|
}
|
|
}
|