protected BaseController(ApplyDbContext db) { this.Db = db; }
public PostsController(ApplyDbContext db, IOptions <WebApiSettingsForApplyProcess> webApiSettingsForApplyProcess, IMemoryCache memCache) : base(db) { _webApiSettings = webApiSettingsForApplyProcess.Value; _cache = memCache; }