public POITest() { options = new DbContextOptionsBuilder <XYIncContext>().Options; context = new XYIncContext(options); _service = new Service(context); }
public Service(XYIncContext context) { _context = context; }