public EmployeesController(IWrapperRepository wrapperRepository, IOptions <CustomConfigOptions> options, IMapper mapper ) { this.wrapperRepository = wrapperRepository; this.mapper = mapper; this.configOptions = options.Value; }
public EmployeesController(IWrapperRepository wrapperRepository, IOptions <CustomConfigOptions> options , IMapper mapper, IDistributedCache distributedCache, CRMContext context) { this.wrapperRepository = wrapperRepository; this.mapper = mapper; this.distributedCache = distributedCache; this.context = context; this.configOptions = options.Value; }