public ContextController(ScoreCardContext context, ILoggerFactory logFactory, IMemoryCache memoryCache, IOptions <ApiSettings> options) { _context = context; _logger = logFactory.CreateLogger <ContextController>(); _cache = memoryCache; MaxResultTake = options.Value.MaxTake; }
public RepaymentController(ScoreCardContext context, ILoggerFactory logFactory, IMemoryCache memoryCache, IOptions <ApiSettings> options) : base(context, logFactory, memoryCache, options) { this._repository = new RepaymentRepository(this._context); }