1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-25 15:20:10 +00:00
msfs-popout-panel-manager/WebServer/Controllers/BaseController.cs
2022-07-23 15:23:32 -04:00

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;
}
}
}