1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2025-02-18 01:14:29 +01:00
msfs-popout-panel-manager/WebServer/Controllers/BaseController.cs

23 lines
683 B
C#
Raw Normal View History

2022-07-23 21:23:32 +02:00
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;
}
}
}