mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-28 16:50:11 +00:00
23 lines
683 B
C#
23 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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|