public HelpInstructionController(APIDBContext context, IMapper datamap, DynamicExpressionService expsvc, ILogger <HelpInstructionController> logger) : base(datamap, expsvc, logger) { _context = context; }
private void Setup() { _svc = new DynamicExpressionService(new NullLogger <DynamicExpressionService>()); var tmpsrc = new List <TestObject>(); tmpsrc.Add(new TestObject() { Property1 = "test1", Property2 = "test1", Property3 = 1 }); tmpsrc.Add(new TestObject() { Property1 = "test2", Property2 = "test2", Property3 = 2 }); _testsource = tmpsrc.AsQueryable(); }