public static PoiDbContext GetPoiDbContext() { var context = new PoiDbContext( new DbContextOptionsBuilder <PoiDbContext>() .UseInMemoryDatabase("POI").Options ); return(context); }
public CityRepository(PoiDbContext context) { Context = context; }