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

23 lines
683 B
C#
Raw Normal View History

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