mirror of
https://github.com/sphildreth/roadie
synced 2024-11-27 06:30:21 +00:00
28 lines
No EOL
999 B
C#
28 lines
No EOL
999 B
C#
using Microsoft.AspNet.OData;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.Extensions.Configuration;
|
|
using Microsoft.Extensions.Logging;
|
|
using Roadie.Library.Setttings;
|
|
using Roadie.Library.Caching;
|
|
using Roadie.Library.Data;
|
|
|
|
namespace Roadie.Api.Controllers
|
|
{
|
|
public abstract class EntityControllerBase : ODataController
|
|
{
|
|
protected readonly ICacheManager _cacheManager;
|
|
protected readonly IConfiguration _configuration;
|
|
protected readonly IRoadieDbContext _RoadieDbContext;
|
|
protected readonly IRoadieSettings _RoadieSettings;
|
|
|
|
protected ILogger _logger;
|
|
|
|
public EntityControllerBase(IRoadieDbContext RoadieDbContext, ICacheManager cacheManager, IConfiguration configuration, IRoadieSettings RoadieSettings)
|
|
{
|
|
this._RoadieDbContext = RoadieDbContext;
|
|
this._cacheManager = cacheManager;
|
|
this._configuration = configuration;
|
|
this._RoadieSettings = RoadieSettings;
|
|
}
|
|
}
|
|
} |